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