diff options
Diffstat (limited to 'autotests/kconfig_compiler/test3a.h.ref')
-rw-r--r-- | autotests/kconfig_compiler/test3a.h.ref | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/autotests/kconfig_compiler/test3a.h.ref b/autotests/kconfig_compiler/test3a.h.ref index dbe009dc..3cdf1677 100644 --- a/autotests/kconfig_compiler/test3a.h.ref +++ b/autotests/kconfig_compiler/test3a.h.ref @@ -23,7 +23,7 @@ class Test3a : public KConfigSkeleton */ void setAutoSave( bool v ) { - if (!isImmutable( QStringLiteral( "AutoSave" ) )) + if (!isAutoSaveImmutable()) mAutoSave = v; } @@ -36,6 +36,14 @@ class Test3a : public KConfigSkeleton } /** + Is Enable automatic saving of calendar Immutable + */ + bool isAutoSaveImmutable() const + { + return isImmutable( QStringLiteral( "AutoSave" ) ); + } + + /** Get Item object corresponding to AutoSave() */ ItemBool *autoSaveItem() @@ -48,7 +56,7 @@ class Test3a : public KConfigSkeleton */ void setBlubb( int v ) { - if (!isImmutable( QStringLiteral( "Blubb" ) )) + if (!isBlubbImmutable()) mBlubb = v; } @@ -61,6 +69,14 @@ class Test3a : public KConfigSkeleton } /** + Is Blubb Immutable + */ + bool isBlubbImmutable() const + { + return isImmutable( QStringLiteral( "Blubb" ) ); + } + + /** Get Item object corresponding to Blubb() */ ItemInt *blubbItem() @@ -73,7 +89,7 @@ class Test3a : public KConfigSkeleton */ void setBlahBlah( const QString & v ) { - if (!isImmutable( QStringLiteral( "BlahBlah" ) )) + if (!isBlahBlahImmutable()) mBlahBlah = v; } @@ -86,6 +102,14 @@ class Test3a : public KConfigSkeleton } /** + Is BlahBlah Immutable + */ + bool isBlahBlahImmutable() const + { + return isImmutable( QStringLiteral( "BlahBlah" ) ); + } + + /** Get Item object corresponding to BlahBlah() */ ItemString *blahBlahItem() @@ -98,7 +122,7 @@ class Test3a : public KConfigSkeleton */ void setMyPassword( const QString & v ) { - if (!isImmutable( QStringLiteral( "MyPassword" ) )) + if (!isMyPasswordImmutable()) mMyPassword = v; } @@ -111,6 +135,14 @@ class Test3a : public KConfigSkeleton } /** + Is MyPassword Immutable + */ + bool isMyPasswordImmutable() const + { + return isImmutable( QStringLiteral( "MyPassword" ) ); + } + + /** Get Item object corresponding to MyPassword() */ ItemPassword *myPasswordItem() |