aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test11.h.ref
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kconfig_compiler/test11.h.ref')
-rw-r--r--autotests/kconfig_compiler/test11.h.ref30
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;
}