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_kde.cpp.ref | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'autotests/kconfig_compiler/test_translation_kde.cpp.ref') diff --git a/autotests/kconfig_compiler/test_translation_kde.cpp.ref b/autotests/kconfig_compiler/test_translation_kde.cpp.ref index 5c11133d..c42408e5 100644 --- a/autotests/kconfig_compiler/test_translation_kde.cpp.ref +++ b/autotests/kconfig_compiler/test_translation_kde.cpp.ref @@ -8,15 +8,15 @@ using namespace TestNameSpace; TestTranslationKde::TestTranslationKde( ) - : 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( i18n("Enable automatic saving of calendar") ); itemAutoSave->setWhatsThis( i18nc("@info:whatsthis", "Enable automatic saving of calendars to have calendars saved automatically.") ); - addItem( itemAutoSave, QLatin1String( "AutoSave" ) ); + addItem( itemAutoSave, QStringLiteral( "AutoSave" ) ); } TestTranslationKde::~TestTranslationKde() -- cgit v1.2.1