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/test_translation_qt.cpp.ref | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'autotests/kconfig_compiler/test_translation_qt.cpp.ref') diff --git a/autotests/kconfig_compiler/test_translation_qt.cpp.ref b/autotests/kconfig_compiler/test_translation_qt.cpp.ref index f5ae7273..e0685be3 100644 --- a/autotests/kconfig_compiler/test_translation_qt.cpp.ref +++ b/autotests/kconfig_compiler/test_translation_qt.cpp.ref @@ -6,15 +6,15 @@ using namespace TestNameSpace; TestTranslationQt::TestTranslationQt( ) - : KConfigSkeleton( QLatin1String( "test_translation_rc" ) ) + : KConfigSkeleton( QStringLiteral( "test_translation_rc" ) ) { - setCurrentGroup( QLatin1String( "General" ) ); + setCurrentGroup( QStringLiteral( "General" ) ); KConfigSkeleton::ItemBool *itemAutoSave; - itemAutoSave = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Auto Save" ), mAutoSave, false ); + itemAutoSave = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto Save" ), mAutoSave, false ); itemAutoSave->setLabel( QCoreApplication::translate("TestTranslationQt", "Enable automatic saving of calendar") ); itemAutoSave->setWhatsThis( /*: @info:whatsthis */ QCoreApplication::translate("TestTranslationQt", "Enable automatic saving of calendars to have calendars saved automatically.") ); - addItem( itemAutoSave, QLatin1String( "AutoSave" ) ); + addItem( itemAutoSave, QStringLiteral( "AutoSave" ) ); } TestTranslationQt::~TestTranslationQt() -- cgit v1.2.1