|
|
|
// This file is generated by kconfig_compiler from test9.kcfg.
|
|
|
|
// All changes you do to this file will be lost.
|
|
|
|
|
|
|
|
#include "test9.h"
|
|
|
|
|
|
|
|
Test9::Test9( const TQString & transport, const TQString & folder )
|
|
|
|
: KConfigSkeleton( TQString::tqfromLatin1( "examplerc" ) )
|
|
|
|
, mParamtransport(transport)
|
|
|
|
, mParamfolder(folder)
|
|
|
|
{
|
|
|
|
setCurrentGroup( TQString::tqfromLatin1( "MyOptionsXX" ) );
|
|
|
|
|
|
|
|
TQStringList defaultMyStringList;
|
|
|
|
defaultMyStringList.append( TQString::fromUtf8( "up" ) );
|
|
|
|
defaultMyStringList.append( TQString::fromUtf8( "down" ) );
|
|
|
|
|
|
|
|
KConfigSkeleton::ItemStringList *itemMyStringList;
|
|
|
|
itemMyStringList = new KConfigSkeleton::ItemStringList( currentGroup(), TQString::tqfromLatin1( "MyStringList" ), mMyStringList, defaultMyStringList );
|
|
|
|
addItem( itemMyStringList, TQString::tqfromLatin1( "MyStringList" ) );
|
|
|
|
TQStringList defaultMyPathList;
|
|
|
|
defaultMyPathList.append( TQString::fromUtf8( "/home" ) );
|
|
|
|
defaultMyPathList.append( TQString::fromUtf8( "~" ) );
|
|
|
|
|
|
|
|
KConfigSkeleton::ItemPathList *itemMyPathList;
|
|
|
|
itemMyPathList = new KConfigSkeleton::ItemPathList( currentGroup(), TQString::tqfromLatin1( "MyPathList" ), mMyPathList, defaultMyPathList );
|
|
|
|
addItem( itemMyPathList, TQString::tqfromLatin1( "MyPathList" ) );
|
|
|
|
KConfigSkeleton::ItemPathList *itemMyPathsList2;
|
|
|
|
itemMyPathsList2 = new KConfigSkeleton::ItemPathList( currentGroup(), TQString::tqfromLatin1( "MyPathsList2" ), mMyPathsList2, TQStringList(TQString::tqfromLatin1("/usr/bin")) += TQDir::homeDirPath() );
|
|
|
|
addItem( itemMyPathsList2, TQString::tqfromLatin1( "MyPathsList2" ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
Test9::~Test9()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|