diff options
Diffstat (limited to 'tdecore/kconfig_compiler/tests/test1.cpp.ref')
-rw-r--r-- | tdecore/kconfig_compiler/tests/test1.cpp.ref | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/tdecore/kconfig_compiler/tests/test1.cpp.ref b/tdecore/kconfig_compiler/tests/test1.cpp.ref index b3050921e..d0b6b76f1 100644 --- a/tdecore/kconfig_compiler/tests/test1.cpp.ref +++ b/tdecore/kconfig_compiler/tests/test1.cpp.ref @@ -4,65 +4,65 @@ #include "test1.h" Test1::Test1( const TQString & transport, const TQString & folder ) - : KConfigSkeleton( TQString::fromLatin1( "examplerc" ) ) + : TDEConfigSkeleton( TQString::fromLatin1( "examplerc" ) ) , mParamtransport(transport) , mParamfolder(folder) { setCurrentGroup( TQString::fromLatin1( "General-%1" ).arg( mParamfolder ) ); - KConfigSkeleton::ItemBool *itemOneOption; - itemOneOption = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OneOption" ), mOneOption, true ); + TDEConfigSkeleton::ItemBool *itemOneOption; + itemOneOption = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OneOption" ), mOneOption, true ); addItem( itemOneOption, TQString::fromLatin1( "OneOption" ) ); - KConfigSkeleton::ItemInt *itemAnotherOption; - itemAnotherOption = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Another Option" ), mAnotherOption, 5 ); + TDEConfigSkeleton::ItemInt *itemAnotherOption; + itemAnotherOption = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Another Option" ), mAnotherOption, 5 ); addItem( itemAnotherOption, TQString::fromLatin1( "AnotherOption" ) ); - TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesListOption; + TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesListOption; { - KConfigSkeleton::ItemEnum::Choice choice; + TDEConfigSkeleton::ItemEnum::Choice choice; choice.name = TQString::fromLatin1( "One" ); valuesListOption.append( choice ); } { - KConfigSkeleton::ItemEnum::Choice choice; + TDEConfigSkeleton::ItemEnum::Choice choice; choice.name = TQString::fromLatin1( "Two" ); valuesListOption.append( choice ); } { - KConfigSkeleton::ItemEnum::Choice choice; + TDEConfigSkeleton::ItemEnum::Choice choice; choice.name = TQString::fromLatin1( "Three" ); valuesListOption.append( choice ); } - KConfigSkeleton::ItemEnum *itemListOption; - itemListOption = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ListOption" ), mListOption, valuesListOption, EnumListOption::One ); + TDEConfigSkeleton::ItemEnum *itemListOption; + itemListOption = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "ListOption" ), mListOption, valuesListOption, EnumListOption::One ); addItem( itemListOption, TQString::fromLatin1( "ListOption" ) ); setCurrentGroup( TQString::fromLatin1( "MyOptions" ) ); - KConfigSkeleton::ItemString *itemMyString; - itemMyString = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "MyString" ), mMyString, TQString::fromLatin1( "Default String" ) ); + TDEConfigSkeleton::ItemString *itemMyString; + itemMyString = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "MyString" ), mMyString, TQString::fromLatin1( "Default String" ) ); addItem( itemMyString, TQString::fromLatin1( "MyString" ) ); - KConfigSkeleton::ItemPath *itemMyPath; - itemMyPath = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "MyPath" ), mMyPath, TQDir::homeDirPath()+TQString::fromLatin1(".hidden_file") ); + TDEConfigSkeleton::ItemPath *itemMyPath; + itemMyPath = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "MyPath" ), mMyPath, TQDir::homeDirPath()+TQString::fromLatin1(".hidden_file") ); addItem( itemMyPath, TQString::fromLatin1( "MyPath" ) ); - KConfigSkeleton::ItemInt *itemAnotherOption2; - itemAnotherOption2 = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Another Option" ), mAnotherOption2, 10 ); + TDEConfigSkeleton::ItemInt *itemAnotherOption2; + itemAnotherOption2 = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Another Option" ), mAnotherOption2, 10 ); addItem( itemAnotherOption2, TQString::fromLatin1( "AnotherOption2" ) ); 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 ); + TDEConfigSkeleton::ItemStringList *itemMyStringList; + itemMyStringList = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "MyStringList" ), mMyStringList, defaultMyStringList ); addItem( itemMyStringList, TQString::fromLatin1( "MyStringList" ) ); TQStringList defaultMyStringListHidden; defaultMyStringListHidden.append( TQString::fromUtf8( "up" ) ); defaultMyStringListHidden.append( TQString::fromUtf8( "down" ) ); - KConfigSkeleton::ItemStringList *itemMyStringListHidden; - itemMyStringListHidden = new KConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "MyStringListHidden" ), mMyStringListHidden, defaultMyStringListHidden ); + TDEConfigSkeleton::ItemStringList *itemMyStringListHidden; + itemMyStringListHidden = new TDEConfigSkeleton::ItemStringList( currentGroup(), TQString::fromLatin1( "MyStringListHidden" ), mMyStringListHidden, defaultMyStringListHidden ); addItem( itemMyStringListHidden, TQString::fromLatin1( "MyStringListHidden" ) ); - KConfigSkeleton::ItemInt *itemMyNumber; - itemMyNumber = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "List-%1-%2" ).arg( mParamtransport ).arg( mParamfolder ), mMyNumber, 1 ); + TDEConfigSkeleton::ItemInt *itemMyNumber; + itemMyNumber = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "List-%1-%2" ).arg( mParamtransport ).arg( mParamfolder ), mMyNumber, 1 ); addItem( itemMyNumber, TQString::fromLatin1( "MyNumber" ) ); } |