Warning, /frameworks/kconfig/autotests/kconfig_compiler/test9.h.ref is written in an unsupported language. File is not indexed.
0001 // This file is generated by kconfig_compiler_kf6 from test9.kcfg.
0002 // All changes you do to this file will be lost.
0003 #ifndef TEST9_H
0004 #define TEST9_H
0005
0006 #include <kconfigskeleton.h>
0007 #include <QCoreApplication>
0008 #include <QDebug>
0009
0010 #include <qdir.h>
0011
0012 class Test9 : public KConfigSkeleton
0013 {
0014 public:
0015
0016 Test9( const QString & transport, const QString & folder );
0017 ~Test9() override;
0018
0019 /**
0020 Set MyStringList
0021 */
0022 void setMyStringList( const QStringList & v )
0023 {
0024 if (!isMyStringListImmutable())
0025 mMyStringList = v;
0026 }
0027
0028 /**
0029 Get MyStringList
0030 */
0031 QStringList myStringList() const
0032 {
0033 return mMyStringList;
0034 }
0035
0036 /**
0037 Is MyStringList Immutable
0038 */
0039 bool isMyStringListImmutable() const
0040 {
0041 return isImmutable( QStringLiteral( "MyStringList" ) );
0042 }
0043
0044 /**
0045 Set This is a list of paths
0046 */
0047 void setMyPathList( const QStringList & v )
0048 {
0049 if (!isMyPathListImmutable())
0050 mMyPathList = v;
0051 }
0052
0053 /**
0054 Get This is a list of paths
0055 */
0056 QStringList myPathList() const
0057 {
0058 return mMyPathList;
0059 }
0060
0061 /**
0062 Is This is a list of paths Immutable
0063 */
0064 bool isMyPathListImmutable() const
0065 {
0066 return isImmutable( QStringLiteral( "MyPathList" ) );
0067 }
0068
0069 /**
0070 Set This is an additional test for PathList
0071 */
0072 void setMyPathsList2( const QStringList & v )
0073 {
0074 if (!isMyPathsList2Immutable())
0075 mMyPathsList2 = v;
0076 }
0077
0078 /**
0079 Get This is an additional test for PathList
0080 */
0081 QStringList myPathsList2() const
0082 {
0083 return mMyPathsList2;
0084 }
0085
0086 /**
0087 Is This is an additional test for PathList Immutable
0088 */
0089 bool isMyPathsList2Immutable() const
0090 {
0091 return isImmutable( QStringLiteral( "MyPathsList2" ) );
0092 }
0093
0094 protected:
0095 public:
0096 QString mParamtransport;
0097 QString mParamfolder;
0098
0099 // MyOptionsXX
0100 QStringList mMyStringList;
0101 QStringList mMyPathList;
0102 QStringList mMyPathsList2;
0103
0104 private:
0105 };
0106
0107 #endif
0108