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_domain.cpp.ref | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'autotests/kconfig_compiler/test_translation_kde_domain.cpp.ref') diff --git a/autotests/kconfig_compiler/test_translation_kde_domain.cpp.ref b/autotests/kconfig_compiler/test_translation_kde_domain.cpp.ref index 66fc4cb9..6704c005 100644 --- a/autotests/kconfig_compiler/test_translation_kde_domain.cpp.ref +++ b/autotests/kconfig_compiler/test_translation_kde_domain.cpp.ref @@ -8,15 +8,15 @@ using namespace TestNameSpace; TestTranslationKdeDomain::TestTranslationKdeDomain( ) - : 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( i18nd("test-kcfg-kde", "Enable automatic saving of calendar") ); itemAutoSave->setWhatsThis( i18ndc("test-kcfg-kde", "@info:whatsthis", "Enable automatic saving of calendars to have calendars saved automatically.") ); - addItem( itemAutoSave, QLatin1String( "AutoSave" ) ); + addItem( itemAutoSave, QStringLiteral( "AutoSave" ) ); } TestTranslationKdeDomain::~TestTranslationKdeDomain() -- cgit v1.2.1