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/test7.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/test7.cpp.ref')
-rw-r--r-- | autotests/kconfig_compiler/test7.cpp.ref | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/autotests/kconfig_compiler/test7.cpp.ref b/autotests/kconfig_compiler/test7.cpp.ref index f506b095..2e40848c 100644 --- a/autotests/kconfig_compiler/test7.cpp.ref +++ b/autotests/kconfig_compiler/test7.cpp.ref @@ -4,25 +4,25 @@ #include "test7.h" Test7::Test7( int Number ) - : KConfigSkeleton( QLatin1String( "test7rc" ) ) + : KConfigSkeleton( QStringLiteral( "test7rc" ) ) , mParamNumber(Number) { - setCurrentGroup( QLatin1String( "Foo" ) ); + setCurrentGroup( QStringLiteral( "Foo" ) ); KConfigSkeleton::ItemColor *itemColor; - itemColor = new KConfigSkeleton::ItemColor( currentGroup(), QString( QLatin1String( "color #%1" ) ).arg( mParamNumber ), mColor, QColor( "red" ) ); - addItem( itemColor, QLatin1String( "Color" ) ); + itemColor = new KConfigSkeleton::ItemColor( currentGroup(), QStringLiteral( "color #%1" ).arg( mParamNumber ), mColor, QColor( "red" ) ); + addItem( itemColor, QStringLiteral( "Color" ) ); - setCurrentGroup( QString( QLatin1String( "Bar%1" ) ).arg( mParamNumber ) ); + setCurrentGroup( QStringLiteral( "Bar%1" ).arg( mParamNumber ) ); KConfigSkeleton::ItemString *itemFooBar; - itemFooBar = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "foo bar" ), mFooBar ); - addItem( itemFooBar, QLatin1String( "FooBar" ) ); + itemFooBar = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "foo bar" ), mFooBar ); + addItem( itemFooBar, QStringLiteral( "FooBar" ) ); KConfigSkeleton::ItemInt *itemAge; - itemAge = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Age" ), mAge, 35 ); + itemAge = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "Age" ), mAge, 35 ); itemAge->setMinValue(8); itemAge->setMaxValue(88); - addItem( itemAge, QLatin1String( "Age" ) ); + addItem( itemAge, QStringLiteral( "Age" ) ); } Test7::~Test7() |