aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test3.h.ref
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kconfig_compiler/test3.h.ref')
-rw-r--r--autotests/kconfig_compiler/test3.h.ref40
1 files changed, 36 insertions, 4 deletions
diff --git a/autotests/kconfig_compiler/test3.h.ref b/autotests/kconfig_compiler/test3.h.ref
index 2b8ef539..7dde3de0 100644
--- a/autotests/kconfig_compiler/test3.h.ref
+++ b/autotests/kconfig_compiler/test3.h.ref
@@ -22,7 +22,7 @@ class Test3 : public KConfigSkeleton
*/
void setAutoSave( bool v )
{
- if (!isImmutable( QStringLiteral( "AutoSave" ) ))
+ if (!isAutoSaveImmutable())
mAutoSave = v;
}
@@ -35,6 +35,14 @@ class Test3 : public KConfigSkeleton
}
/**
+ Is Enable automatic saving of calendar Immutable
+ */
+ bool isAutoSaveImmutable() const
+ {
+ return isImmutable( QStringLiteral( "AutoSave" ) );
+ }
+
+ /**
Get Item object corresponding to AutoSave()
*/
ItemBool *autoSaveItem()
@@ -47,7 +55,7 @@ class Test3 : public KConfigSkeleton
*/
void setBlubb( int v )
{
- if (!isImmutable( QStringLiteral( "Blubb" ) ))
+ if (!isBlubbImmutable())
mBlubb = v;
}
@@ -60,6 +68,14 @@ class Test3 : public KConfigSkeleton
}
/**
+ Is Blubb Immutable
+ */
+ bool isBlubbImmutable() const
+ {
+ return isImmutable( QStringLiteral( "Blubb" ) );
+ }
+
+ /**
Get Item object corresponding to Blubb()
*/
ItemInt *blubbItem()
@@ -72,7 +88,7 @@ class Test3 : public KConfigSkeleton
*/
void setBlahBlah( const QString & v )
{
- if (!isImmutable( QStringLiteral( "BlahBlah" ) ))
+ if (!isBlahBlahImmutable())
mBlahBlah = v;
}
@@ -85,6 +101,14 @@ class Test3 : public KConfigSkeleton
}
/**
+ Is BlahBlah Immutable
+ */
+ bool isBlahBlahImmutable() const
+ {
+ return isImmutable( QStringLiteral( "BlahBlah" ) );
+ }
+
+ /**
Get Item object corresponding to BlahBlah()
*/
ItemString *blahBlahItem()
@@ -97,7 +121,7 @@ class Test3 : public KConfigSkeleton
*/
void setMyPassword( const QString & v )
{
- if (!isImmutable( QStringLiteral( "MyPassword" ) ))
+ if (!isMyPasswordImmutable())
mMyPassword = v;
}
@@ -110,6 +134,14 @@ class Test3 : public KConfigSkeleton
}
/**
+ Is MyPassword Immutable
+ */
+ bool isMyPasswordImmutable() const
+ {
+ return isImmutable( QStringLiteral( "MyPassword" ) );
+ }
+
+ /**
Get Item object corresponding to MyPassword()
*/
ItemPassword *myPasswordItem()