aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test9.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/test9.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/test9.cpp.ref')
-rw-r--r--autotests/kconfig_compiler/test9.cpp.ref16
1 files changed, 8 insertions, 8 deletions
diff --git a/autotests/kconfig_compiler/test9.cpp.ref b/autotests/kconfig_compiler/test9.cpp.ref
index bc65f430..c5eb772b 100644
--- a/autotests/kconfig_compiler/test9.cpp.ref
+++ b/autotests/kconfig_compiler/test9.cpp.ref
@@ -4,29 +4,29 @@
#include "test9.h"
Test9::Test9( const QString & transport, const QString & folder )
- : KConfigSkeleton( QLatin1String( "examplerc" ) )
+ : KConfigSkeleton( QStringLiteral( "examplerc" ) )
, mParamtransport(transport)
, mParamfolder(folder)
{
- setCurrentGroup( QLatin1String( "MyOptionsXX" ) );
+ setCurrentGroup( QStringLiteral( "MyOptionsXX" ) );
QStringList defaultMyStringList;
defaultMyStringList.append( QString::fromUtf8( "up" ) );
defaultMyStringList.append( QString::fromUtf8( "down" ) );
KConfigSkeleton::ItemStringList *itemMyStringList;
- itemMyStringList = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "MyStringList" ), mMyStringList, defaultMyStringList );
- addItem( itemMyStringList, QLatin1String( "MyStringList" ) );
+ itemMyStringList = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "MyStringList" ), mMyStringList, defaultMyStringList );
+ addItem( itemMyStringList, QStringLiteral( "MyStringList" ) );
QStringList defaultMyPathList;
defaultMyPathList.append( QString::fromUtf8( "/home" ) );
defaultMyPathList.append( QString::fromUtf8( "~" ) );
KConfigSkeleton::ItemPathList *itemMyPathList;
- itemMyPathList = new KConfigSkeleton::ItemPathList( currentGroup(), QLatin1String( "MyPathList" ), mMyPathList, defaultMyPathList );
- addItem( itemMyPathList, QLatin1String( "MyPathList" ) );
+ itemMyPathList = new KConfigSkeleton::ItemPathList( currentGroup(), QStringLiteral( "MyPathList" ), mMyPathList, defaultMyPathList );
+ addItem( itemMyPathList, QStringLiteral( "MyPathList" ) );
KConfigSkeleton::ItemPathList *itemMyPathsList2;
- itemMyPathsList2 = new KConfigSkeleton::ItemPathList( currentGroup(), QLatin1String( "MyPathsList2" ), mMyPathsList2, QStringList(QString::fromLatin1("/usr/bin")) << QDir::homePath() );
- addItem( itemMyPathsList2, QLatin1String( "MyPathsList2" ) );
+ itemMyPathsList2 = new KConfigSkeleton::ItemPathList( currentGroup(), QStringLiteral( "MyPathsList2" ), mMyPathsList2, QStringList(QString::fromLatin1("/usr/bin")) << QDir::homePath() );
+ addItem( itemMyPathsList2, QStringLiteral( "MyPathsList2" ) );
}
Test9::~Test9()