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/test8b.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/test8b.cpp.ref')
-rw-r--r-- | autotests/kconfig_compiler/test8b.cpp.ref | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/autotests/kconfig_compiler/test8b.cpp.ref b/autotests/kconfig_compiler/test8b.cpp.ref index 8890815b..5c369a62 100644 --- a/autotests/kconfig_compiler/test8b.cpp.ref +++ b/autotests/kconfig_compiler/test8b.cpp.ref @@ -29,20 +29,20 @@ Test8b::Test8b( ) { Q_ASSERT(!s_globalTest8b()->q); s_globalTest8b()->q = this; - setCurrentGroup( QLatin1String( "Group8b1" ) ); + setCurrentGroup( QStringLiteral( "Group8b1" ) ); Test8a::ItemUInt *itemSomething; - itemSomething = new Test8a::ItemUInt( currentGroup(), QLatin1String( "Something" ), mSomething, 60 ); - addItem( itemSomething, QLatin1String( "Something" ) ); + itemSomething = new Test8a::ItemUInt( currentGroup(), QStringLiteral( "Something" ), mSomething, 60 ); + addItem( itemSomething, QStringLiteral( "Something" ) ); - setCurrentGroup( QLatin1String( "Group8b2" ) ); + setCurrentGroup( QStringLiteral( "Group8b2" ) ); Test8a::ItemBool *itemFooBoo; - itemFooBoo = new Test8a::ItemBool( currentGroup(), QLatin1String( "FooBoo" ), mFooBoo, false ); - addItem( itemFooBoo, QLatin1String( "FooBoo" ) ); + itemFooBoo = new Test8a::ItemBool( currentGroup(), QStringLiteral( "FooBoo" ), mFooBoo, false ); + addItem( itemFooBoo, QStringLiteral( "FooBoo" ) ); Test8a::ItemUInt *itemPort; - itemPort = new Test8a::ItemUInt( currentGroup(), QLatin1String( "Port" ), mPort, 1000 ); - addItem( itemPort, QLatin1String( "Port" ) ); + itemPort = new Test8a::ItemUInt( currentGroup(), QStringLiteral( "Port" ), mPort, 1000 ); + addItem( itemPort, QStringLiteral( "Port" ) ); } Test8b::~Test8b() |