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/test10.cpp.ref | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'autotests/kconfig_compiler/test10.cpp.ref') diff --git a/autotests/kconfig_compiler/test10.cpp.ref b/autotests/kconfig_compiler/test10.cpp.ref index f067cc68..a84bee30 100644 --- a/autotests/kconfig_compiler/test10.cpp.ref +++ b/autotests/kconfig_compiler/test10.cpp.ref @@ -25,18 +25,18 @@ Test10 *Test10::self() } Test10::Test10( ) - : KConfigSkeleton( QLatin1String( "test10rc" ) ) + : KConfigSkeleton( QStringLiteral( "test10rc" ) ) { Q_ASSERT(!s_globalTest10()->q); s_globalTest10()->q = this; - setCurrentGroup( QLatin1String( "Foo" ) ); + setCurrentGroup( QStringLiteral( "Foo" ) ); KConfigSkeleton::ItemUrl *itemFooBar; - itemFooBar = new KConfigSkeleton::ItemUrl( currentGroup(), QLatin1String( "foo bar" ), mFooBar ); - addItem( itemFooBar, QLatin1String( "FooBar" ) ); + itemFooBar = new KConfigSkeleton::ItemUrl( currentGroup(), QStringLiteral( "foo bar" ), mFooBar ); + addItem( itemFooBar, QStringLiteral( "FooBar" ) ); KConfigSkeleton::ItemUrlList *itemBarFoo; - itemBarFoo = new KConfigSkeleton::ItemUrlList( currentGroup(), QLatin1String( "bar foo" ), mBarFoo ); - addItem( itemBarFoo, QLatin1String( "BarFoo" ) ); + itemBarFoo = new KConfigSkeleton::ItemUrlList( currentGroup(), QStringLiteral( "bar foo" ), mBarFoo ); + addItem( itemBarFoo, QStringLiteral( "BarFoo" ) ); } Test10::~Test10() -- cgit v1.2.1