Warning, /frameworks/kconfig/autotests/kconfig_compiler/test9.cpp.ref is written in an unsupported language. File is not indexed.

0001 // This file is generated by kconfig_compiler_kf5 from test9.kcfg.
0002 // All changes you do to this file will be lost.
0003 
0004 #include "test9.h"
0005 
0006 Test9::Test9( const QString & transport, const QString & folder )
0007   : KConfigSkeleton( QStringLiteral( "examplerc" ) )
0008   , mParamtransport(transport)
0009   , mParamfolder(folder)
0010 {
0011   setCurrentGroup( QStringLiteral( "MyOptionsXX" ) );
0012 
0013   QStringList defaultMyStringList;
0014   defaultMyStringList.append( QString::fromUtf8( "up" ) );
0015   defaultMyStringList.append( QString::fromUtf8( "down" ) );
0016 
0017   KConfigSkeleton::ItemStringList  *itemMyStringList;
0018   itemMyStringList = new KConfigSkeleton::ItemStringList( currentGroup(), QStringLiteral( "MyStringList" ), mMyStringList, defaultMyStringList );
0019   addItem( itemMyStringList, QStringLiteral( "MyStringList" ) );
0020   QStringList defaultMyPathList;
0021   defaultMyPathList.append( QString::fromUtf8( "/home" ) );
0022   defaultMyPathList.append( QString::fromUtf8( "~" ) );
0023 
0024   KConfigSkeleton::ItemPathList  *itemMyPathList;
0025   itemMyPathList = new KConfigSkeleton::ItemPathList( currentGroup(), QStringLiteral( "MyPathList" ), mMyPathList, defaultMyPathList );
0026   addItem( itemMyPathList, QStringLiteral( "MyPathList" ) );
0027   KConfigSkeleton::ItemPathList  *itemMyPathsList2;
0028   itemMyPathsList2 = new KConfigSkeleton::ItemPathList( currentGroup(), QStringLiteral( "MyPathsList2" ), mMyPathsList2, QStringList(QString::fromLatin1("/usr/bin")) << QDir::homePath() );
0029   addItem( itemMyPathsList2, QStringLiteral( "MyPathsList2" ) );
0030 }
0031 
0032 Test9::~Test9()
0033 {
0034 }
0035