From 75d11cc64fee09189bfe8f968f0558e3d1000db8 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Wed, 28 Oct 2015 08:29:32 +0100 Subject: Use QStringLiteral in generated code REVIEW: 125833 --- autotests/kconfig_compiler/test3.cpp.ref | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'autotests/kconfig_compiler/test3.cpp.ref') diff --git a/autotests/kconfig_compiler/test3.cpp.ref b/autotests/kconfig_compiler/test3.cpp.ref index 1ac95252..aa9fb919 100644 --- a/autotests/kconfig_compiler/test3.cpp.ref +++ b/autotests/kconfig_compiler/test3.cpp.ref @@ -6,21 +6,21 @@ using namespace TestNameSpace; Test3::Test3( ) - : KConfigSkeleton( QLatin1String( "test3rc" ) ) + : KConfigSkeleton( QStringLiteral( "test3rc" ) ) { - setCurrentGroup( QLatin1String( "General" ) ); + setCurrentGroup( QStringLiteral( "General" ) ); - mAutoSaveItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Auto Save" ), mAutoSave, false ); - addItem( mAutoSaveItem, QLatin1String( "AutoSave" ) ); + mAutoSaveItem = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto Save" ), mAutoSave, false ); + addItem( mAutoSaveItem, QStringLiteral( "AutoSave" ) ); - setCurrentGroup( QLatin1String( "Blah" ) ); + setCurrentGroup( QStringLiteral( "Blah" ) ); - mBlubbItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Blubb" ), mBlubb, 10 ); - addItem( mBlubbItem, QLatin1String( "Blubb" ) ); - mBlahBlahItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "BlahBlah" ), mBlahBlah, QLatin1String( "a string" ) ); - addItem( mBlahBlahItem, QLatin1String( "BlahBlah" ) ); - mMyPasswordItem = new KConfigSkeleton::ItemPassword( currentGroup(), QLatin1String( "MyPassword" ), mMyPassword ); - addItem( mMyPasswordItem, QLatin1String( "MyPassword" ) ); + mBlubbItem = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "Blubb" ), mBlubb, 10 ); + addItem( mBlubbItem, QStringLiteral( "Blubb" ) ); + mBlahBlahItem = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "BlahBlah" ), mBlahBlah, QStringLiteral( "a string" ) ); + addItem( mBlahBlahItem, QStringLiteral( "BlahBlah" ) ); + mMyPasswordItem = new KConfigSkeleton::ItemPassword( currentGroup(), QStringLiteral( "MyPassword" ), mMyPassword ); + addItem( mMyPasswordItem, QStringLiteral( "MyPassword" ) ); } Test3::~Test3() -- cgit v1.2.1