From 0c04b8cc4021934bbd6e0bd12788396689f65864 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Tue, 18 Aug 2015 23:18:16 +0100 Subject: Fix unit-tests, expected output changed, so update the tests. --- autotests/kconfig_compiler/test2.h.ref | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'autotests/kconfig_compiler/test2.h.ref') diff --git a/autotests/kconfig_compiler/test2.h.ref b/autotests/kconfig_compiler/test2.h.ref index 77ba56f9..ce7ff259 100644 --- a/autotests/kconfig_compiler/test2.h.ref +++ b/autotests/kconfig_compiler/test2.h.ref @@ -23,7 +23,7 @@ class Test2 : public MyPrefs */ void setAutoSave( bool v ) { - if (!isImmutable( QString::fromLatin1( "AutoSave" ) )) + if (!isImmutable( QStringLiteral( "AutoSave" ) )) mAutoSave = v; } @@ -48,7 +48,7 @@ class Test2 : public MyPrefs */ void setAutoSaveInterval( int v ) { - if (!isImmutable( QString::fromLatin1( "AutoSaveInterval" ) )) + if (!isImmutable( QStringLiteral( "AutoSaveInterval" ) )) mAutoSaveInterval = v; } @@ -73,7 +73,7 @@ class Test2 : public MyPrefs */ void setConfirm( bool v ) { - if (!isImmutable( QString::fromLatin1( "Confirm" ) )) + if (!isImmutable( QStringLiteral( "Confirm" ) )) mConfirm = v; } @@ -98,7 +98,7 @@ class Test2 : public MyPrefs */ void setArchiveFile( const QString & v ) { - if (!isImmutable( QString::fromLatin1( "ArchiveFile" ) )) + if (!isImmutable( QStringLiteral( "ArchiveFile" ) )) mArchiveFile = v; } @@ -123,7 +123,7 @@ class Test2 : public MyPrefs */ void setDestination( int v ) { - if (!isImmutable( QString::fromLatin1( "Destination" ) )) + if (!isImmutable( QStringLiteral( "Destination" ) )) mDestination = v; } @@ -148,7 +148,7 @@ class Test2 : public MyPrefs */ void setHourSize( int v ) { - if (!isImmutable( QString::fromLatin1( "HourSize" ) )) + if (!isImmutable( QStringLiteral( "HourSize" ) )) mHourSize = v; } @@ -173,7 +173,7 @@ class Test2 : public MyPrefs */ void setSelectionStartsEditor( bool v ) { - if (!isImmutable( QString::fromLatin1( "SelectionStartsEditor" ) )) + if (!isImmutable( QStringLiteral( "SelectionStartsEditor" ) )) mSelectionStartsEditor = v; } @@ -198,7 +198,7 @@ class Test2 : public MyPrefs */ void setSelectedPlugins( const QStringList & v ) { - if (!isImmutable( QString::fromLatin1( "SelectedPlugins" ) )) + if (!isImmutable( QStringLiteral( "SelectedPlugins" ) )) mSelectedPlugins = v; } @@ -223,7 +223,7 @@ class Test2 : public MyPrefs */ void setHighlightColor( const QColor & v ) { - if (!isImmutable( QString::fromLatin1( "HighlightColor" ) )) + if (!isImmutable( QStringLiteral( "HighlightColor" ) )) mHighlightColor = v; } @@ -248,7 +248,7 @@ class Test2 : public MyPrefs */ void setAgendaBgColor( const QColor & v ) { - if (!isImmutable( QString::fromLatin1( "AgendaBgColor" ) )) + if (!isImmutable( QStringLiteral( "AgendaBgColor" ) )) mAgendaBgColor = v; } @@ -273,7 +273,7 @@ class Test2 : public MyPrefs */ void setTimeBarFont( const QFont & v ) { - if (!isImmutable( QString::fromLatin1( "TimeBarFont" ) )) + if (!isImmutable( QStringLiteral( "TimeBarFont" ) )) mTimeBarFont = v; } -- cgit v1.2.1