blob: c8a1c253a657ee169342422b0fe38a1e34e8a7a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
// 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() override;
/**
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
|