diff options
Diffstat (limited to 'autotests/kconfig_compiler/test8c.h.ref')
-rw-r--r-- | autotests/kconfig_compiler/test8c.h.ref | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/autotests/kconfig_compiler/test8c.h.ref b/autotests/kconfig_compiler/test8c.h.ref index 57469dca..7e96da0b 100644 --- a/autotests/kconfig_compiler/test8c.h.ref +++ b/autotests/kconfig_compiler/test8c.h.ref @@ -22,7 +22,7 @@ class Test8c : public KConfigSkeleton static void setFont( const QFont & v ) { - if (!self()->isImmutable( QStringLiteral( "Font" ) )) + if (!self()->isFontImmutable()) self()->mFont = v; } @@ -36,12 +36,21 @@ class Test8c : public KConfigSkeleton } /** + Is Font Immutable + */ + static + bool isFontImmutable() + { + return self()->isImmutable( QStringLiteral( "Font" ) ); + } + + /** Set TitleFont */ static void setTitleFont( const QFont & v ) { - if (!self()->isImmutable( QStringLiteral( "TitleFont" ) )) + if (!self()->isTitleFontImmutable()) self()->mTitleFont = v; } @@ -54,6 +63,15 @@ class Test8c : public KConfigSkeleton return self()->mTitleFont; } + /** + Is TitleFont Immutable + */ + static + bool isTitleFontImmutable() + { + return self()->isImmutable( QStringLiteral( "TitleFont" ) ); + } + protected: Test8c(KSharedConfig::Ptr config, QObject *parent = nullptr); friend class Test8cHelper; |