1// This file is generated by kconfig_compiler_kf5 from test_subgroups.kcfg.
2// All changes you do to this file will be lost.
3#ifndef TESTSUBGROUPS_H
4#define TESTSUBGROUPS_H
5
6#include <kconfigskeleton.h>
7#include <QCoreApplication>
8#include <QDebug>
9
10class TestSubgroups : public KConfigSkeleton
11{
12  public:
13
14    TestSubgroups( const QString & GeneralGroup, const QString & SubGroup, const QString & AnotherSubGroup );
15    ~TestSubgroups() override;
16
17    /**
18      Get Foo
19    */
20    bool foo() const
21    {
22      return mFoo;
23    }
24
25    /**
26      Is Foo Immutable
27    */
28    bool isFooImmutable() const
29    {
30      return isImmutable( QStringLiteral( "Foo" ) );
31    }
32
33    /**
34      Get Bar
35    */
36    int bar() const
37    {
38      return mBar;
39    }
40
41    /**
42      Is Bar Immutable
43    */
44    bool isBarImmutable() const
45    {
46      return isImmutable( QStringLiteral( "Bar" ) );
47    }
48
49    /**
50      Get Baz
51    */
52    bool baz() const
53    {
54      return mBaz;
55    }
56
57    /**
58      Is Baz Immutable
59    */
60    bool isBazImmutable() const
61    {
62      return isImmutable( QStringLiteral( "Baz" ) );
63    }
64
65    /**
66      Get Foobar
67    */
68    bool foobar() const
69    {
70      return mFoobar;
71    }
72
73    /**
74      Is Foobar Immutable
75    */
76    bool isFoobarImmutable() const
77    {
78      return isImmutable( QStringLiteral( "Foobar" ) );
79    }
80
81  protected:
82    QString mParamGeneralGroup;
83    QString mParamSubGroup;
84    QString mParamAnotherSubGroup;
85
86    // $(SubGroup)
87    bool mFoo;
88
89    // other
90    int mBar;
91
92    // $(AnotherSubGroup)
93    bool mBaz;
94
95    // SimpleGroup
96    bool mFoobar;
97
98  private:
99};
100
101#endif
102
103