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

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