aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test2.h.ref
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kconfig_compiler/test2.h.ref')
-rw-r--r--autotests/kconfig_compiler/test2.h.ref22
1 files changed, 11 insertions, 11 deletions
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;
}