aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test8a.h.ref
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kconfig_compiler/test8a.h.ref')
-rw-r--r--autotests/kconfig_compiler/test8a.h.ref20
1 files changed, 18 insertions, 2 deletions
diff --git a/autotests/kconfig_compiler/test8a.h.ref b/autotests/kconfig_compiler/test8a.h.ref
index 3e890946..9e9c0f4e 100644
--- a/autotests/kconfig_compiler/test8a.h.ref
+++ b/autotests/kconfig_compiler/test8a.h.ref
@@ -20,7 +20,7 @@ class Test8a : public KConfigSkeleton
*/
void setFont( const QFont & v )
{
- if (!isImmutable( QStringLiteral( "Font" ) ))
+ if (!isFontImmutable())
mFont = v;
}
@@ -33,11 +33,19 @@ class Test8a : public KConfigSkeleton
}
/**
+ Is Font Immutable
+ */
+ bool isFontImmutable() const
+ {
+ return isImmutable( QStringLiteral( "Font" ) );
+ }
+
+ /**
Set TitleFont
*/
void setTitleFont( const QFont & v )
{
- if (!isImmutable( QStringLiteral( "TitleFont" ) ))
+ if (!isTitleFontImmutable())
mTitleFont = v;
}
@@ -49,6 +57,14 @@ class Test8a : public KConfigSkeleton
return mTitleFont;
}
+ /**
+ Is TitleFont Immutable
+ */
+ bool isTitleFontImmutable() const
+ {
+ return isImmutable( QStringLiteral( "TitleFont" ) );
+ }
+
protected:
// Group