aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test8b.h.ref
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kconfig_compiler/test8b.h.ref')
-rw-r--r--autotests/kconfig_compiler/test8b.h.ref33
1 files changed, 30 insertions, 3 deletions
diff --git a/autotests/kconfig_compiler/test8b.h.ref b/autotests/kconfig_compiler/test8b.h.ref
index 0f71ba7c..793c6851 100644
--- a/autotests/kconfig_compiler/test8b.h.ref
+++ b/autotests/kconfig_compiler/test8b.h.ref
@@ -22,7 +22,7 @@ class Test8b : public Test8a
static
void setSomething( uint v )
{
- if (!self()->isImmutable( QStringLiteral( "Something" ) ))
+ if (!self()->isSomethingImmutable())
self()->mSomething = v;
}
@@ -36,12 +36,21 @@ class Test8b : public Test8a
}
/**
+ Is Something Immutable
+ */
+ static
+ bool isSomethingImmutable()
+ {
+ return self()->isImmutable( QStringLiteral( "Something" ) );
+ }
+
+ /**
Set FooBoo
*/
static
void setFooBoo( bool v )
{
- if (!self()->isImmutable( QStringLiteral( "FooBoo" ) ))
+ if (!self()->isFooBooImmutable())
self()->mFooBoo = v;
}
@@ -55,12 +64,21 @@ class Test8b : public Test8a
}
/**
+ Is FooBoo Immutable
+ */
+ static
+ bool isFooBooImmutable()
+ {
+ return self()->isImmutable( QStringLiteral( "FooBoo" ) );
+ }
+
+ /**
Set Port
*/
static
void setPort( uint v )
{
- if (!self()->isImmutable( QStringLiteral( "Port" ) ))
+ if (!self()->isPortImmutable())
self()->mPort = v;
}
@@ -73,6 +91,15 @@ class Test8b : public Test8a
return self()->mPort;
}
+ /**
+ Is Port Immutable
+ */
+ static
+ bool isPortImmutable()
+ {
+ return self()->isImmutable( QStringLiteral( "Port" ) );
+ }
+
protected:
Test8b();
friend class Test8bHelper;