You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
1.6 KiB
102 lines
1.6 KiB
// This file is generated by kconfig_compiler_kf5 from test_subgroups.kcfg. |
|
// All changes you do to this file will be lost. |
|
#ifndef TESTSUBGROUPS_H |
|
#define TESTSUBGROUPS_H |
|
|
|
#include <kconfigskeleton.h> |
|
#include <QCoreApplication> |
|
#include <QDebug> |
|
|
|
class TestSubgroups : public KConfigSkeleton |
|
{ |
|
public: |
|
|
|
TestSubgroups( const QString & GeneralGroup, const QString & SubGroup, const QString & AnotherSubGroup ); |
|
~TestSubgroups(); |
|
|
|
/** |
|
Get Foo |
|
*/ |
|
bool foo() const |
|
{ |
|
return mFoo; |
|
} |
|
|
|
/** |
|
Is Foo Immutable |
|
*/ |
|
bool isFooImmutable() const |
|
{ |
|
return isImmutable( QStringLiteral( "Foo" ) ); |
|
} |
|
|
|
/** |
|
Get Bar |
|
*/ |
|
int bar() const |
|
{ |
|
return mBar; |
|
} |
|
|
|
/** |
|
Is Bar Immutable |
|
*/ |
|
bool isBarImmutable() const |
|
{ |
|
return isImmutable( QStringLiteral( "Bar" ) ); |
|
} |
|
|
|
/** |
|
Get Baz |
|
*/ |
|
bool baz() const |
|
{ |
|
return mBaz; |
|
} |
|
|
|
/** |
|
Is Baz Immutable |
|
*/ |
|
bool isBazImmutable() const |
|
{ |
|
return isImmutable( QStringLiteral( "Baz" ) ); |
|
} |
|
|
|
/** |
|
Get Foobar |
|
*/ |
|
bool foobar() const |
|
{ |
|
return mFoobar; |
|
} |
|
|
|
/** |
|
Is Foobar Immutable |
|
*/ |
|
bool isFoobarImmutable() const |
|
{ |
|
return isImmutable( QStringLiteral( "Foobar" ) ); |
|
} |
|
|
|
protected: |
|
QString mParamGeneralGroup; |
|
QString mParamSubGroup; |
|
QString mParamAnotherSubGroup; |
|
|
|
// $(SubGroup) |
|
bool mFoo; |
|
|
|
// other |
|
int mBar; |
|
|
|
// $(AnotherSubGroup) |
|
bool mBaz; |
|
|
|
// SimpleGroup |
|
bool mFoobar; |
|
|
|
private: |
|
}; |
|
|
|
#endif |
|
|
|
|