diff options
author | Sergio Martins <iamsergio@gmail.com> | 2015-08-18 23:18:16 +0100 |
---|---|---|
committer | Sergio Martins <iamsergio@gmail.com> | 2015-08-18 23:18:16 +0100 |
commit | 0c04b8cc4021934bbd6e0bd12788396689f65864 (patch) | |
tree | 0a288e9f74ef18bbbac6842633d9f29866aec5e8 /autotests/kconfig_compiler/test1.h.ref | |
parent | 4d5a50a85bec95e60f11d1ac271df643e472ecf5 (diff) | |
download | kconfig-0c04b8cc4021934bbd6e0bd12788396689f65864.tar.gz kconfig-0c04b8cc4021934bbd6e0bd12788396689f65864.tar.bz2 |
Fix unit-tests, expected output changed, so update the tests.
Diffstat (limited to 'autotests/kconfig_compiler/test1.h.ref')
-rw-r--r-- | autotests/kconfig_compiler/test1.h.ref | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/autotests/kconfig_compiler/test1.h.ref b/autotests/kconfig_compiler/test1.h.ref index 3410a60d..bbef760d 100644 --- a/autotests/kconfig_compiler/test1.h.ref +++ b/autotests/kconfig_compiler/test1.h.ref @@ -25,7 +25,7 @@ class Test1 : public KConfigSkeleton */ void setOneOption( bool v ) { - if (!isImmutable( QString::fromLatin1( "OneOption" ) )) + if (!isImmutable( QStringLiteral( "OneOption" ) )) mOneOption = v; } @@ -42,7 +42,7 @@ class Test1 : public KConfigSkeleton */ void setAnotherOption( int v ) { - if (!isImmutable( QString::fromLatin1( "AnotherOption" ) )) + if (!isImmutable( QStringLiteral( "AnotherOption" ) )) mAnotherOption = v; } @@ -59,7 +59,7 @@ class Test1 : public KConfigSkeleton */ void setListOption( int v ) { - if (!isImmutable( QString::fromLatin1( "ListOption" ) )) + if (!isImmutable( QStringLiteral( "ListOption" ) )) mListOption = v; } @@ -76,7 +76,7 @@ class Test1 : public KConfigSkeleton */ void setMyString( const QString & v ) { - if (!isImmutable( QString::fromLatin1( "MyString" ) )) + if (!isImmutable( QStringLiteral( "MyString" ) )) mMyString = v; } @@ -93,7 +93,7 @@ class Test1 : public KConfigSkeleton */ void setMyPath( const QString & v ) { - if (!isImmutable( QString::fromLatin1( "MyPath" ) )) + if (!isImmutable( QStringLiteral( "MyPath" ) )) mMyPath = v; } @@ -110,7 +110,7 @@ class Test1 : public KConfigSkeleton */ void setAnotherOption2( int v ) { - if (!isImmutable( QString::fromLatin1( "AnotherOption2" ) )) + if (!isImmutable( QStringLiteral( "AnotherOption2" ) )) mAnotherOption2 = v; } @@ -127,7 +127,7 @@ class Test1 : public KConfigSkeleton */ void setMyStringList( const QStringList & v ) { - if (!isImmutable( QString::fromLatin1( "MyStringList" ) )) + if (!isImmutable( QStringLiteral( "MyStringList" ) )) mMyStringList = v; } @@ -144,7 +144,7 @@ class Test1 : public KConfigSkeleton */ void setMyStringListHidden( const QStringList & v ) { - if (!isImmutable( QString::fromLatin1( "MyStringListHidden" ) )) + if (!isImmutable( QStringLiteral( "MyStringListHidden" ) )) mMyStringListHidden = v; } @@ -161,7 +161,7 @@ class Test1 : public KConfigSkeleton */ void setMyNumber( int v ) { - if (!isImmutable( QString::fromLatin1( "MyNumber" ) )) + if (!isImmutable( QStringLiteral( "MyNumber" ) )) mMyNumber = v; } |