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/test11.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/test11.h.ref')
-rw-r--r-- | autotests/kconfig_compiler/test11.h.ref | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/autotests/kconfig_compiler/test11.h.ref b/autotests/kconfig_compiler/test11.h.ref index c60bb201..1af66a95 100644 --- a/autotests/kconfig_compiler/test11.h.ref +++ b/autotests/kconfig_compiler/test11.h.ref @@ -29,7 +29,7 @@ class Test11 : public MyPrefs */ void setAutoSave( bool v ) { - if (!isImmutable( QString::fromLatin1( "AutoSave" ) )) + if (!isImmutable( QStringLiteral( "AutoSave" ) )) mAutoSave = v; } @@ -62,7 +62,7 @@ class Test11 : public MyPrefs */ void setAutoSaveInterval( int v ) { - if (!isImmutable( QString::fromLatin1( "AutoSaveInterval" ) )) + if (!isImmutable( QStringLiteral( "AutoSaveInterval" ) )) mAutoSaveInterval = v; } @@ -95,7 +95,7 @@ class Test11 : public MyPrefs */ void setConfirm( bool v ) { - if (!isImmutable( QString::fromLatin1( "Confirm" ) )) + if (!isImmutable( QStringLiteral( "Confirm" ) )) mConfirm = v; } @@ -128,7 +128,7 @@ class Test11 : public MyPrefs */ void setArchiveFile( const QString & v ) { - if (!isImmutable( QString::fromLatin1( "ArchiveFile" ) )) + if (!isImmutable( QStringLiteral( "ArchiveFile" ) )) mArchiveFile = v; } @@ -153,7 +153,7 @@ class Test11 : public MyPrefs */ void setDestination( EnumDestination::type v ) { - if (!isImmutable( QString::fromLatin1( "Destination" ) )) + if (!isImmutable( QStringLiteral( "Destination" ) )) mDestination = v; } @@ -186,7 +186,7 @@ class Test11 : public MyPrefs */ void setHourSize( int v ) { - if (!isImmutable( QString::fromLatin1( "HourSize" ) )) + if (!isImmutable( QStringLiteral( "HourSize" ) )) mHourSize = v; } @@ -219,7 +219,7 @@ class Test11 : public MyPrefs */ void setSelectionStartsEditor( bool v ) { - if (!isImmutable( QString::fromLatin1( "SelectionStartsEditor" ) )) + if (!isImmutable( QStringLiteral( "SelectionStartsEditor" ) )) mSelectionStartsEditor = v; } @@ -252,7 +252,7 @@ class Test11 : public MyPrefs */ void setSelectedPlugins( const QStringList & v ) { - if (!isImmutable( QString::fromLatin1( "SelectedPlugins" ) )) + if (!isImmutable( QStringLiteral( "SelectedPlugins" ) )) mSelectedPlugins = v; } @@ -285,7 +285,7 @@ class Test11 : public MyPrefs */ void setHighlightColor( const QColor & v ) { - if (!isImmutable( QString::fromLatin1( "HighlightColor" ) )) + if (!isImmutable( QStringLiteral( "HighlightColor" ) )) mHighlightColor = v; } @@ -318,7 +318,7 @@ class Test11 : public MyPrefs */ void setAgendaBgColor( const QColor & v ) { - if (!isImmutable( QString::fromLatin1( "AgendaBgColor" ) )) + if (!isImmutable( QStringLiteral( "AgendaBgColor" ) )) mAgendaBgColor = v; } @@ -351,7 +351,7 @@ class Test11 : public MyPrefs */ void setTimeBarFont( const QFont & v ) { - if (!isImmutable( QString::fromLatin1( "TimeBarFont" ) )) + if (!isImmutable( QStringLiteral( "TimeBarFont" ) )) mTimeBarFont = v; } @@ -376,7 +376,7 @@ class Test11 : public MyPrefs */ void setEmailClient( MailClient v ) { - if (!isImmutable( QString::fromLatin1( "EmailClient" ) )) + if (!isImmutable( QStringLiteral( "EmailClient" ) )) mEmailClient = v; } @@ -409,7 +409,7 @@ class Test11 : public MyPrefs */ void setDefaultReminderUnits( TimePeriod::Units v ) { - if (!isImmutable( QString::fromLatin1( "DefaultReminderUnits" ) )) + if (!isImmutable( QStringLiteral( "DefaultReminderUnits" ) )) mDefaultReminderUnits = v; } @@ -442,7 +442,7 @@ class Test11 : public MyPrefs */ void setQueueRate( int i, const QList<int> & v ) { - if (!isImmutable( QString::fromLatin1( "queueRate%1" ).arg( i ) )) + if (!isImmutable( QStringLiteral( "queueRate%1" ).arg( i ) )) mQueueRate[i] = v; } @@ -475,7 +475,7 @@ class Test11 : public MyPrefs */ void setShowQueueTuner( bool v ) { - if (!isImmutable( QString::fromLatin1( "ShowQueueTuner" ) )) + if (!isImmutable( QStringLiteral( "ShowQueueTuner" ) )) mShowQueueTuner = v; } |