Warning, /frameworks/kconfig/autotests/kconfig_compiler/test3.h.ref is written in an unsupported language. File is not indexed.
0001 // This file is generated by kconfig_compiler_kf6 from test3.kcfg. 0002 // All changes you do to this file will be lost. 0003 #ifndef TESTNAMESPACE_TEST3_H 0004 #define TESTNAMESPACE_TEST3_H 0005 0006 #include <qglobal.h> 0007 #include <kconfigskeleton.h> 0008 #include <QCoreApplication> 0009 #include <QDebug> 0010 0011 namespace TestNameSpace { 0012 0013 class Test3 : public KConfigSkeleton 0014 { 0015 public: 0016 0017 Test3( ); 0018 ~Test3() override; 0019 0020 /** 0021 Set Enable automatic saving of calendar 0022 */ 0023 void setAutoSave( bool v ) 0024 { 0025 if (!isAutoSaveImmutable()) 0026 mAutoSave = v; 0027 } 0028 0029 /** 0030 Get Enable automatic saving of calendar 0031 */ 0032 bool autoSave() const 0033 { 0034 return mAutoSave; 0035 } 0036 0037 /** 0038 Is Enable automatic saving of calendar Immutable 0039 */ 0040 bool isAutoSaveImmutable() const 0041 { 0042 return isImmutable( QStringLiteral( "AutoSave" ) ); 0043 } 0044 0045 /** 0046 Get Item object corresponding to AutoSave() 0047 */ 0048 ItemBool *autoSaveItem() 0049 { 0050 return mAutoSaveItem; 0051 } 0052 0053 /** 0054 Set Blubb 0055 */ 0056 void setBlubb( int v ) 0057 { 0058 if (!isBlubbImmutable()) 0059 mBlubb = v; 0060 } 0061 0062 /** 0063 Get Blubb 0064 */ 0065 int blubb() const 0066 { 0067 return mBlubb; 0068 } 0069 0070 /** 0071 Is Blubb Immutable 0072 */ 0073 bool isBlubbImmutable() const 0074 { 0075 return isImmutable( QStringLiteral( "Blubb" ) ); 0076 } 0077 0078 /** 0079 Get Item object corresponding to Blubb() 0080 */ 0081 ItemInt *blubbItem() 0082 { 0083 return mBlubbItem; 0084 } 0085 0086 /** 0087 Set BlahBlah 0088 */ 0089 void setBlahBlah( const QString & v ) 0090 { 0091 if (!isBlahBlahImmutable()) 0092 mBlahBlah = v; 0093 } 0094 0095 /** 0096 Get BlahBlah 0097 */ 0098 QString blahBlah() const 0099 { 0100 return mBlahBlah; 0101 } 0102 0103 /** 0104 Is BlahBlah Immutable 0105 */ 0106 bool isBlahBlahImmutable() const 0107 { 0108 return isImmutable( QStringLiteral( "BlahBlah" ) ); 0109 } 0110 0111 /** 0112 Get Item object corresponding to BlahBlah() 0113 */ 0114 ItemString *blahBlahItem() 0115 { 0116 return mBlahBlahItem; 0117 } 0118 0119 /** 0120 Set MyPassword 0121 */ 0122 void setMyPassword( const QString & v ) 0123 { 0124 if (!isMyPasswordImmutable()) 0125 mMyPassword = v; 0126 } 0127 0128 /** 0129 Get MyPassword 0130 */ 0131 QString myPassword() const 0132 { 0133 return mMyPassword; 0134 } 0135 0136 /** 0137 Is MyPassword Immutable 0138 */ 0139 bool isMyPasswordImmutable() const 0140 { 0141 return isImmutable( QStringLiteral( "MyPassword" ) ); 0142 } 0143 0144 /** 0145 Get Item object corresponding to MyPassword() 0146 */ 0147 ItemPassword *myPasswordItem() 0148 { 0149 return mMyPasswordItem; 0150 } 0151 0152 protected: 0153 0154 // General 0155 bool mAutoSave; 0156 0157 // Blah 0158 int mBlubb; 0159 QString mBlahBlah; 0160 QString mMyPassword; 0161 0162 private: 0163 ItemBool *mAutoSaveItem; 0164 ItemInt *mBlubbItem; 0165 ItemString *mBlahBlahItem; 0166 ItemPassword *mMyPasswordItem; 0167 }; 0168 0169 } 0170 0171 #endif 0172