kanagram
kanagramsettings.h
Go to the documentation of this file.00001 // This file is generated by kconfig_compiler from kanagram.kcfg. 00002 // All changes you do to this file will be lost. 00003 #ifndef KANAGRAMSETTINGS_H 00004 #define KANAGRAMSETTINGS_H 00005 00006 #include <kconfigskeleton.h> 00007 #include <kdebug.h> 00008 00009 class KanagramSettings : public KConfigSkeleton 00010 { 00011 public: 00012 00013 static KanagramSettings *self(); 00014 ~KanagramSettings(); 00015 00019 static 00020 void setHintHideTime( const QString & v ) 00021 { 00022 if (!self()->isImmutable( QString::fromLatin1 ( "hintHideTime" ) )) 00023 self()->mHintHideTime = v; 00024 } 00025 00029 static 00030 QString hintHideTime() 00031 { 00032 return self()->mHintHideTime; 00033 } 00034 00038 static 00039 void setUseSounds( bool v ) 00040 { 00041 if (!self()->isImmutable( QString::fromLatin1 ( "useSounds" ) )) 00042 self()->mUseSounds = v; 00043 } 00044 00048 static 00049 bool useSounds() 00050 { 00051 return self()->mUseSounds; 00052 } 00053 00057 static 00058 void setDefaultVocab( const QString & v ) 00059 { 00060 if (!self()->isImmutable( QString::fromLatin1 ( "defaultVocab" ) )) 00061 self()->mDefaultVocab = v; 00062 } 00063 00067 static 00068 QString defaultVocab() 00069 { 00070 return self()->mDefaultVocab; 00071 } 00072 00076 static 00077 void setDataLanguage( const QString & v ) 00078 { 00079 if (!self()->isImmutable( QString::fromLatin1 ( "dataLanguage" ) )) 00080 self()->mDataLanguage = v; 00081 } 00082 00086 static 00087 QString dataLanguage() 00088 { 00089 return self()->mDataLanguage; 00090 } 00091 00092 protected: 00093 KanagramSettings(); 00094 friend class KanagramSettingsHelper; 00095 00096 00097 // kanagram 00098 QString mHintHideTime; 00099 bool mUseSounds; 00100 QString mDefaultVocab; 00101 QString mDataLanguage; 00102 00103 private: 00104 }; 00105 00106 #endif 00107
KDE 4.0 API Reference