NepomukDaemons
nepomukserversettings.h
Go to the documentation of this file.00001 // This file is generated by kconfig_compiler from nepomukserver.kcfg. 00002 // All changes you do to this file will be lost. 00003 #ifndef NEPOMUKSERVERSETTINGS_H 00004 #define NEPOMUKSERVERSETTINGS_H 00005 00006 #include <kconfigskeleton.h> 00007 #include <kdebug.h> 00008 00009 class NepomukServerSettings : public KConfigSkeleton 00010 { 00011 public: 00012 00013 static NepomukServerSettings *self(); 00014 ~NepomukServerSettings(); 00015 00019 static 00020 void setStartNepomuk( bool v ) 00021 { 00022 if (!self()->isImmutable( QString::fromLatin1 ( "StartNepomuk" ) )) 00023 self()->mStartNepomuk = v; 00024 } 00025 00029 static 00030 bool startNepomuk() 00031 { 00032 return self()->mStartNepomuk; 00033 } 00034 00038 static 00039 void setStartStrigi( bool v ) 00040 { 00041 if (!self()->isImmutable( QString::fromLatin1 ( "StartStrigi" ) )) 00042 self()->mStartStrigi = v; 00043 } 00044 00048 static 00049 bool startStrigi() 00050 { 00051 return self()->mStartStrigi; 00052 } 00053 00057 static 00058 void setSopranoBackend( const QString & v ) 00059 { 00060 if (!self()->isImmutable( QString::fromLatin1 ( "SopranoBackend" ) )) 00061 self()->mSopranoBackend = v; 00062 } 00063 00067 static 00068 QString sopranoBackend() 00069 { 00070 return self()->mSopranoBackend; 00071 } 00072 00073 protected: 00074 NepomukServerSettings(); 00075 friend class NepomukServerSettingsHelper; 00076 00077 00078 // Basic Settings 00079 bool mStartNepomuk; 00080 bool mStartStrigi; 00081 QString mSopranoBackend; 00082 00083 private: 00084 }; 00085 00086 #endif 00087