Warning, /frameworks/kconfig/autotests/kconfig_compiler/test_subgroups.h.ref is written in an unsupported language. File is not indexed.

0001 // This file is generated by kconfig_compiler_kf6 from test_subgroups.kcfg.
0002 // All changes you do to this file will be lost.
0003 #ifndef TESTSUBGROUPS_H
0004 #define TESTSUBGROUPS_H
0005 
0006 #include <kconfigskeleton.h>
0007 #include <QCoreApplication>
0008 #include <QDebug>
0009 
0010 class TestSubgroups : public KConfigSkeleton
0011 {
0012   public:
0013 
0014     TestSubgroups( const QString & GeneralGroup, const QString & SubGroup, const QString & AnotherSubGroup );
0015     ~TestSubgroups() override;
0016 
0017     /**
0018       Get Foo
0019     */
0020     bool foo() const
0021     {
0022       return mFoo;
0023     }
0024 
0025     /**
0026       Is Foo Immutable
0027     */
0028     bool isFooImmutable() const
0029     {
0030       return isImmutable( QStringLiteral( "Foo" ) );
0031     }
0032 
0033     /**
0034       Get Bar
0035     */
0036     int bar() const
0037     {
0038       return mBar;
0039     }
0040 
0041     /**
0042       Is Bar Immutable
0043     */
0044     bool isBarImmutable() const
0045     {
0046       return isImmutable( QStringLiteral( "Bar" ) );
0047     }
0048 
0049     /**
0050       Get Baz
0051     */
0052     bool baz() const
0053     {
0054       return mBaz;
0055     }
0056 
0057     /**
0058       Is Baz Immutable
0059     */
0060     bool isBazImmutable() const
0061     {
0062       return isImmutable( QStringLiteral( "Baz" ) );
0063     }
0064 
0065     /**
0066       Get Foobar
0067     */
0068     bool foobar() const
0069     {
0070       return mFoobar;
0071     }
0072 
0073     /**
0074       Is Foobar Immutable
0075     */
0076     bool isFoobarImmutable() const
0077     {
0078       return isImmutable( QStringLiteral( "Foobar" ) );
0079     }
0080 
0081   protected:
0082     QString mParamGeneralGroup;
0083     QString mParamSubGroup;
0084     QString mParamAnotherSubGroup;
0085 
0086     // $(SubGroup)
0087     bool mFoo;
0088 
0089     // other
0090     int mBar;
0091 
0092     // $(AnotherSubGroup)
0093     bool mBaz;
0094 
0095     // SimpleGroup
0096     bool mFoobar;
0097 
0098   private:
0099 };
0100 
0101 #endif
0102