summaryrefslogtreecommitdiffstats
path: root/tdecore/kconfig_compiler/tests/test9.cpp.ref
blob: c5d57e4d1c5bec7784427dc675d44f40812d763e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 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::fromLatin1( "examplerc" ) )
  , mParamtransport(transport)
  , mParamfolder(folder)
{
  setCurrentGroup( TQString::fromLatin1( "MyOptionsXX" ) );

  TQStringList defaultMyStringList;
  defaultMyStringList.append( TQString::fromUtf8( "up" ) );
  defaultMyStringList.append( TQString::fromUtf8( "down" ) );

  KConfigSkeleton::ItemStringList  *itemMyStringList;
  itemMyStringList = new KConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "MyStringList" ), mMyStringList, defaultMyStringList );
  addItem( itemMyStringList, TQString::fromLatin1( "MyStringList" ) );
  TQStringList defaultMyPathList;
  defaultMyPathList.append( TQString::fromUtf8( "/home" ) );
  defaultMyPathList.append( TQString::fromUtf8( "~" ) );

  KConfigSkeleton::ItemPathList  *itemMyPathList;
  itemMyPathList = new KConfigSkeleton::ItemPathList( currentGroup(), TQString::fromLatin1( "MyPathList" ), mMyPathList, defaultMyPathList );
  addItem( itemMyPathList, TQString::fromLatin1( "MyPathList" ) );
  KConfigSkeleton::ItemPathList  *itemMyPathsList2;
  itemMyPathsList2 = new KConfigSkeleton::ItemPathList( currentGroup(), TQString::fromLatin1( "MyPathsList2" ), mMyPathsList2, TQStringList(TQString::fromLatin1("/usr/bin")) += TQDir::homeDirPath() );
  addItem( itemMyPathsList2, TQString::fromLatin1( "MyPathsList2" ) );
}

Test9::~Test9()
{
}