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

0001 // This file is generated by kconfig_compiler_kf6 from test8c.kcfg.
0002 // All changes you do to this file will be lost.
0003 #ifndef TEST8C_H
0004 #define TEST8C_H
0005 
0006 #include <kconfigskeleton.h>
0007 #include <QCoreApplication>
0008 #include <QDebug>
0009 
0010 class Test8c : public KConfigSkeleton
0011 {
0012   public:
0013 
0014     static Test8c *self();
0015     static void instance(const QString& cfgfilename);
0016     static void instance(KSharedConfig::Ptr config);
0017     ~Test8c() override;
0018 
0019     /**
0020       Set Font
0021     */
0022     static
0023     void setFont( const QFont & v )
0024     {
0025       if (!self()->isFontImmutable())
0026         self()->mFont = v;
0027     }
0028 
0029     /**
0030       Get Font
0031     */
0032     static
0033     QFont font()
0034     {
0035       return self()->mFont;
0036     }
0037 
0038     /**
0039       Is Font Immutable
0040     */
0041     static
0042     bool isFontImmutable()
0043     {
0044       return self()->isImmutable( QStringLiteral( "Font" ) );
0045     }
0046 
0047     /**
0048       Set TitleFont
0049     */
0050     static
0051     void setTitleFont( const QFont & v )
0052     {
0053       if (!self()->isTitleFontImmutable())
0054         self()->mTitleFont = v;
0055     }
0056 
0057     /**
0058       Get TitleFont
0059     */
0060     static
0061     QFont titleFont()
0062     {
0063       return self()->mTitleFont;
0064     }
0065 
0066     /**
0067       Is TitleFont Immutable
0068     */
0069     static
0070     bool isTitleFontImmutable()
0071     {
0072       return self()->isImmutable( QStringLiteral( "TitleFont" ) );
0073     }
0074 
0075   protected:
0076     Test8c(KSharedConfig::Ptr config, QObject *parent = nullptr);
0077     friend class Test8cHelper;
0078 
0079 
0080     // Group
0081     QFont mFont;
0082     QFont mTitleFont;
0083 
0084   private:
0085 };
0086 
0087 #endif
0088