diff options
author | Montel Laurent <montel@kde.org> | 2015-10-28 08:29:32 +0100 |
---|---|---|
committer | Montel Laurent <montel@kde.org> | 2015-10-30 23:31:09 +0100 |
commit | 75d11cc64fee09189bfe8f968f0558e3d1000db8 (patch) | |
tree | 6ec1b971dd7859382b9ff346767c9d464cfed2aa /autotests/kconfig_compiler/test_signal.cpp.ref | |
parent | 91d0b11a87d7d547f204ce8d16baa710520f55ac (diff) | |
download | kconfig-75d11cc64fee09189bfe8f968f0558e3d1000db8.tar.gz kconfig-75d11cc64fee09189bfe8f968f0558e3d1000db8.tar.bz2 |
Use QStringLiteral in generated code
REVIEW: 125833
Diffstat (limited to 'autotests/kconfig_compiler/test_signal.cpp.ref')
-rw-r--r-- | autotests/kconfig_compiler/test_signal.cpp.ref | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/autotests/kconfig_compiler/test_signal.cpp.ref b/autotests/kconfig_compiler/test_signal.cpp.ref index e959571a..8afd6741 100644 --- a/autotests/kconfig_compiler/test_signal.cpp.ref +++ b/autotests/kconfig_compiler/test_signal.cpp.ref @@ -25,30 +25,30 @@ TestSignal *TestSignal::self() } TestSignal::TestSignal( ) - : KConfigSkeleton( QLatin1String( "kconfig_compiler_kf5_test_rc" ) ) + : KConfigSkeleton( QStringLiteral( "kconfig_compiler_kf5_test_rc" ) ) , mSettingsChanged(0) { Q_ASSERT(!s_globalTestSignal()->q); s_globalTestSignal()->q = this; KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast<KConfigCompilerSignallingItem::NotifyFunction>(&TestSignal::itemChanged); - setCurrentGroup( QLatin1String( "Appearance" ) ); + setCurrentGroup( QStringLiteral( "Appearance" ) ); KConfigCompilerSignallingItem *itemEmoticonTheme; - itemEmoticonTheme = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "emoticonTheme" ), mEmoticonTheme, QLatin1String( "Default" ) ), this, notifyFunction, signalEmoticonSettingsChanged); - addItem( itemEmoticonTheme, QLatin1String( "emoticonTheme" ) ); + itemEmoticonTheme = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "emoticonTheme" ), mEmoticonTheme, QStringLiteral( "Default" ) ), this, notifyFunction, signalEmoticonSettingsChanged); + addItem( itemEmoticonTheme, QStringLiteral( "emoticonTheme" ) ); KConfigCompilerSignallingItem *itemUseEmoticon; - itemUseEmoticon = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "useEmoticon" ), mUseEmoticon, true ), this, notifyFunction, signalEmoticonSettingsChanged); - addItem( itemUseEmoticon, QLatin1String( "useEmoticon" ) ); + itemUseEmoticon = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "useEmoticon" ), mUseEmoticon, true ), this, notifyFunction, signalEmoticonSettingsChanged); + addItem( itemUseEmoticon, QStringLiteral( "useEmoticon" ) ); KConfigCompilerSignallingItem *itemEmoticonRequireSpace; - itemEmoticonRequireSpace = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "emoticonRequireSpace" ), mEmoticonRequireSpace, true ), this, notifyFunction, signalEmoticonSettingsChanged); - addItem( itemEmoticonRequireSpace, QLatin1String( "emoticonRequireSpace" ) ); + itemEmoticonRequireSpace = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "emoticonRequireSpace" ), mEmoticonRequireSpace, true ), this, notifyFunction, signalEmoticonSettingsChanged); + addItem( itemEmoticonRequireSpace, QStringLiteral( "emoticonRequireSpace" ) ); KConfigCompilerSignallingItem *itemStylePath; - itemStylePath = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "stylePath" ), mStylePath ), this, notifyFunction, signalStyleChanged); - addItem( itemStylePath, QLatin1String( "stylePath" ) ); + itemStylePath = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "stylePath" ), mStylePath ), this, notifyFunction, signalStyleChanged); + addItem( itemStylePath, QStringLiteral( "stylePath" ) ); KConfigSkeleton::ItemString *itemStyleCSSVariant; - itemStyleCSSVariant = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "styleVariant" ), mStyleCSSVariant ); - addItem( itemStyleCSSVariant, QLatin1String( "StyleCSSVariant" ) ); + itemStyleCSSVariant = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "styleVariant" ), mStyleCSSVariant ); + addItem( itemStyleCSSVariant, QStringLiteral( "StyleCSSVariant" ) ); } TestSignal::~TestSignal() |