kblackbox
kbbprefs.h
Go to the documentation of this file.00001 // This file is generated by kconfig_compiler from kblackbox.kcfg. 00002 // All changes you do to this file will be lost. 00003 #ifndef KBBPREFS_H 00004 #define KBBPREFS_H 00005 00006 #include <kconfigskeleton.h> 00007 #include <kdebug.h> 00008 00009 class KBBPrefs : public KConfigSkeleton 00010 { 00011 public: 00012 00013 static KBBPrefs *self(); 00014 ~KBBPrefs(); 00015 00019 static 00020 void setTheme( const QString & v ) 00021 { 00022 if (!self()->isImmutable( QString::fromLatin1 ( "theme" ) )) 00023 self()->mTheme = v; 00024 } 00025 00029 static 00030 QString theme() 00031 { 00032 return self()->mTheme; 00033 } 00034 00038 static 00039 void setBalls( int v ) 00040 { 00041 if (!self()->isImmutable( QString::fromLatin1 ( "balls" ) )) 00042 self()->mBalls = v; 00043 } 00044 00048 static 00049 int balls() 00050 { 00051 return self()->mBalls; 00052 } 00053 00057 static 00058 void setColumns( int v ) 00059 { 00060 if (!self()->isImmutable( QString::fromLatin1 ( "columns" ) )) 00061 self()->mColumns = v; 00062 } 00063 00067 static 00068 int columns() 00069 { 00070 return self()->mColumns; 00071 } 00072 00076 static 00077 void setRows( int v ) 00078 { 00079 if (!self()->isImmutable( QString::fromLatin1 ( "rows" ) )) 00080 self()->mRows = v; 00081 } 00082 00086 static 00087 int rows() 00088 { 00089 return self()->mRows; 00090 } 00091 00095 static 00096 void setLevel( int v ) 00097 { 00098 if (!self()->isImmutable( QString::fromLatin1 ( "level" ) )) 00099 self()->mLevel = v; 00100 } 00101 00105 static 00106 int level() 00107 { 00108 return self()->mLevel; 00109 } 00110 00111 protected: 00112 KBBPrefs(); 00113 friend class KBBPrefsHelper; 00114 00115 00116 // KBlackBox Setup 00117 QString mTheme; 00118 int mBalls; 00119 int mColumns; 00120 int mRows; 00121 int mLevel; 00122 00123 private: 00124 }; 00125 00126 #endif 00127
KDE 4.0 API Reference