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/test13.cpp.ref | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'autotests/kconfig_compiler/test13.cpp.ref') diff --git a/autotests/kconfig_compiler/test13.cpp.ref b/autotests/kconfig_compiler/test13.cpp.ref index 4eac1034..3beea1d0 100644 --- a/autotests/kconfig_compiler/test13.cpp.ref +++ b/autotests/kconfig_compiler/test13.cpp.ref @@ -4,18 +4,18 @@ #include "test13.h" Test13::Test13( ) - : KConfigSkeleton( QLatin1String( "muondatasourcesrc" ) ) + : KConfigSkeleton( QStringLiteral( "muondatasourcesrc" ) ) { KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast(&Test13::itemChanged); - setCurrentGroup( QLatin1String( "kamoso" ) ); + setCurrentGroup( QStringLiteral( "kamoso" ) ); KConfigSkeleton::ItemUrl *itemPicturesDir; - itemPicturesDir = new KConfigSkeleton::ItemUrl( currentGroup(), QLatin1String( "picturesDir" ), mPicturesDir ); - addItem( itemPicturesDir, QLatin1String( "picturesDir" ) ); + itemPicturesDir = new KConfigSkeleton::ItemUrl( currentGroup(), QStringLiteral( "picturesDir" ), mPicturesDir ); + addItem( itemPicturesDir, QStringLiteral( "picturesDir" ) ); KConfigCompilerSignallingItem *itemBrightness; - itemBrightness = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "brightness" ), mBrightness ), this, notifyFunction, signalBrightnessChanged); - addItem( itemBrightness, QLatin1String( "brightness" ) ); + itemBrightness = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "brightness" ), mBrightness ), this, notifyFunction, signalBrightnessChanged); + addItem( itemBrightness, QStringLiteral( "brightness" ) ); } Test13::~Test13() -- cgit v1.2.1