aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test5.h.ref
diff options
context:
space:
mode:
authorSergio Martins <iamsergio@gmail.com>2015-08-18 23:18:16 +0100
committerSergio Martins <iamsergio@gmail.com>2015-08-18 23:18:16 +0100
commit0c04b8cc4021934bbd6e0bd12788396689f65864 (patch)
tree0a288e9f74ef18bbbac6842633d9f29866aec5e8 /autotests/kconfig_compiler/test5.h.ref
parent4d5a50a85bec95e60f11d1ac271df643e472ecf5 (diff)
downloadkconfig-0c04b8cc4021934bbd6e0bd12788396689f65864.tar.gz
kconfig-0c04b8cc4021934bbd6e0bd12788396689f65864.tar.bz2
Fix unit-tests, expected output changed, so update the tests.
Diffstat (limited to 'autotests/kconfig_compiler/test5.h.ref')
-rw-r--r--autotests/kconfig_compiler/test5.h.ref8
1 files changed, 4 insertions, 4 deletions
diff --git a/autotests/kconfig_compiler/test5.h.ref b/autotests/kconfig_compiler/test5.h.ref
index 8d2cab2e..76041741 100644
--- a/autotests/kconfig_compiler/test5.h.ref
+++ b/autotests/kconfig_compiler/test5.h.ref
@@ -23,7 +23,7 @@ class Test5 : public KConfigSkeleton
static
void setColor( int i, const QColor & v )
{
- if (!self()->isImmutable( QString::fromLatin1( "Color%1" ).arg( i ) ))
+ if (!self()->isImmutable( QStringLiteral( "Color%1" ).arg( i ) ))
self()->mColor[i] = v;
}
@@ -42,7 +42,7 @@ class Test5 : public KConfigSkeleton
static
void setMouseAction( int i, int v )
{
- if (!self()->isImmutable( QString::fromLatin1( "MouseAction%1" ).arg( QLatin1String( EnumButtonToString[i] ) ) ))
+ if (!self()->isImmutable( QStringLiteral( "MouseAction%1" ).arg( QLatin1String( EnumButtonToString[i] ) ) ))
self()->mMouseAction[i] = v;
}
@@ -61,7 +61,7 @@ class Test5 : public KConfigSkeleton
static
void setFooBar( const QString & v )
{
- if (!self()->isImmutable( QString::fromLatin1( "FooBar" ) ))
+ if (!self()->isImmutable( QStringLiteral( "FooBar" ) ))
self()->mFooBar = v;
}
@@ -92,7 +92,7 @@ class Test5 : public KConfigSkeleton
v = 88;
}
- if (!self()->isImmutable( QString::fromLatin1( "Age" ) ))
+ if (!self()->isImmutable( QStringLiteral( "Age" ) ))
self()->mAge = v;
}