libkdepim

pimemoticons.h

00001 // This file is generated by kconfig_compiler from pimemoticons.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef EMOTICONS_H
00004 #define EMOTICONS_H
00005 
00006 #include <kconfigskeleton.h>
00007 #include <kdebug.h>
00008 
00009 class EmotIcons : public KConfigSkeleton
00010 {
00011   public:
00012     class EnumSindex
00013     {
00014       public:
00015       enum type { angry_0, angry_1, bat_0, bat_1, cake_0, cat_0, confused_0, confused_1, confused_2, confused_3, cry_0, cry_1, cry_2, cry_3, dog_0, embarassed_0, embarassed_1, film_0, kiss_2, kiss_3, kiss_4, kiss_5, omg_0, omg_1, omg_2, omg_3, sad_0, sad_1, shade_1, smile_0, smile_1, smile_2, star_0, teeth_0, teeth_1, teeth_2, teeth_3, tongue_0, tongue_1, tongue_2, tongue_3, wink_0, wink_1, COUNT };
00016       static const char* const enumToString[];
00017     };
00018 
00019     static EmotIcons *self();
00020     ~EmotIcons();
00021 
00022 
00026     static
00027     QString theme()
00028     {
00029       return self()->mTheme;
00030     }
00031 
00032 
00036     static
00037     QString smiley( int i )
00038     {
00039       return self()->mSmiley[i];
00040     }
00041 
00042     static
00043     void writeConfig()
00044     {
00045       static_cast<KConfigSkeleton*>(self())->writeConfig();
00046     }
00047   protected:
00048     EmotIcons();
00049     static EmotIcons *mSelf;
00050 
00051 
00052     // General
00053     QString mTheme;
00054     QString mSmiley[43];
00055 
00056   private:
00057 };
00058 
00059 #endif
00060 
KDE Home | KDE Accessibility Home | Description of Access Keys