aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test3a.cpp.ref
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2015-10-28 08:29:32 +0100
committerMontel Laurent <montel@kde.org>2015-10-30 23:31:09 +0100
commit75d11cc64fee09189bfe8f968f0558e3d1000db8 (patch)
tree6ec1b971dd7859382b9ff346767c9d464cfed2aa /autotests/kconfig_compiler/test3a.cpp.ref
parent91d0b11a87d7d547f204ce8d16baa710520f55ac (diff)
downloadkconfig-75d11cc64fee09189bfe8f968f0558e3d1000db8.tar.gz
kconfig-75d11cc64fee09189bfe8f968f0558e3d1000db8.tar.bz2
Use QStringLiteral in generated code
REVIEW: 125833
Diffstat (limited to 'autotests/kconfig_compiler/test3a.cpp.ref')
-rw-r--r--autotests/kconfig_compiler/test3a.cpp.ref22
1 files changed, 11 insertions, 11 deletions
diff --git a/autotests/kconfig_compiler/test3a.cpp.ref b/autotests/kconfig_compiler/test3a.cpp.ref
index dc721718..4ff193db 100644
--- a/autotests/kconfig_compiler/test3a.cpp.ref
+++ b/autotests/kconfig_compiler/test3a.cpp.ref
@@ -6,21 +6,21 @@
using namespace TestNameSpace::InnerNameSpace;
Test3a::Test3a( )
- : KConfigSkeleton( QLatin1String( "test3arc" ) )
+ : KConfigSkeleton( QStringLiteral( "test3arc" ) )
{
- setCurrentGroup( QLatin1String( "General" ) );
+ setCurrentGroup( QStringLiteral( "General" ) );
- mAutoSaveItem = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Auto Save" ), mAutoSave, false );
- addItem( mAutoSaveItem, QLatin1String( "AutoSave" ) );
+ mAutoSaveItem = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto Save" ), mAutoSave, false );
+ addItem( mAutoSaveItem, QStringLiteral( "AutoSave" ) );
- setCurrentGroup( QLatin1String( "Blah" ) );
+ setCurrentGroup( QStringLiteral( "Blah" ) );
- mBlubbItem = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "Blubb" ), mBlubb, 10 );
- addItem( mBlubbItem, QLatin1String( "Blubb" ) );
- mBlahBlahItem = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "BlahBlah" ), mBlahBlah, QLatin1String( "a string" ) );
- addItem( mBlahBlahItem, QLatin1String( "BlahBlah" ) );
- mMyPasswordItem = new KConfigSkeleton::ItemPassword( currentGroup(), QLatin1String( "MyPassword" ), mMyPassword );
- addItem( mMyPasswordItem, QLatin1String( "MyPassword" ) );
+ mBlubbItem = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "Blubb" ), mBlubb, 10 );
+ addItem( mBlubbItem, QStringLiteral( "Blubb" ) );
+ mBlahBlahItem = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "BlahBlah" ), mBlahBlah, QStringLiteral( "a string" ) );
+ addItem( mBlahBlahItem, QStringLiteral( "BlahBlah" ) );
+ mMyPasswordItem = new KConfigSkeleton::ItemPassword( currentGroup(), QStringLiteral( "MyPassword" ), mMyPassword );
+ addItem( mMyPasswordItem, QStringLiteral( "MyPassword" ) );
}
Test3a::~Test3a()