diff options
Diffstat (limited to 'src/kbconfig.cpp')
-rw-r--r-- | src/kbconfig.cpp | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/src/kbconfig.cpp b/src/kbconfig.cpp index f945d40..820a4c4 100644 --- a/src/kbconfig.cpp +++ b/src/kbconfig.cpp @@ -19,77 +19,77 @@ KbConfig *KbConfig::self() } KbConfig::KbConfig( ) - : KConfigSkeleton( QString::fromLatin1( "kasablancarc" ) ) + : TDEConfigSkeleton( TQString::fromLatin1( "kasablancarc" ) ) { mSelf = this; - setCurrentGroup( QString::fromLatin1( "general" ) ); + setCurrentGroup( TQString::fromLatin1( "general" ) ); - KConfigSkeleton::ItemString *itemSkiplist; - itemSkiplist = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Skiplist" ), mSkiplist ); - addItem( itemSkiplist, QString::fromLatin1( "Skiplist" ) ); - KConfigSkeleton::ItemString *itemPrioritylist; - itemPrioritylist = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Prioritylist" ), mPrioritylist ); - addItem( itemPrioritylist, QString::fromLatin1( "Prioritylist" ) ); - KConfigSkeleton::ItemBool *itemDirCachingIsEnabled; - itemDirCachingIsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "DirCachingIsEnabled" ), mDirCachingIsEnabled, false ); - addItem( itemDirCachingIsEnabled, QString::fromLatin1( "DirCachingIsEnabled" ) ); - KConfigSkeleton::ItemBool *itemDeleteMovesIntoTrashIsEnabled; - itemDeleteMovesIntoTrashIsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "DeleteMovesIntoTrashIsEnabled" ), mDeleteMovesIntoTrashIsEnabled, false ); - addItem( itemDeleteMovesIntoTrashIsEnabled, QString::fromLatin1( "DeleteMovesIntoTrashIsEnabled" ) ); - KConfigSkeleton::ItemBool *itemSkiplistIsEnabled; - itemSkiplistIsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "SkiplistIsEnabled" ), mSkiplistIsEnabled, false ); - addItem( itemSkiplistIsEnabled, QString::fromLatin1( "SkiplistIsEnabled" ) ); - KConfigSkeleton::ItemBool *itemPrioritylistIsEnabled; - itemPrioritylistIsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "PrioritylistIsEnabled" ), mPrioritylistIsEnabled, false ); - addItem( itemPrioritylistIsEnabled, QString::fromLatin1( "PrioritylistIsEnabled" ) ); - KConfigSkeleton::ItemString *itemOnQueueFinished; - itemOnQueueFinished = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "OnQueueFinished" ), mOnQueueFinished ); - addItem( itemOnQueueFinished, QString::fromLatin1( "OnQueueFinished" ) ); - KConfigSkeleton::ItemBool *itemOnQueueFinishedIsEnabled; - itemOnQueueFinishedIsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "OnQueueFinishedIsEnabled" ), mOnQueueFinishedIsEnabled, false ); - addItem( itemOnQueueFinishedIsEnabled, QString::fromLatin1( "OnQueueFinishedIsEnabled" ) ); - KConfigSkeleton::ItemBool *itemOnFileExistsOverwrite; - itemOnFileExistsOverwrite = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "OnFileExistsOverwrite" ), mOnFileExistsOverwrite, false ); - addItem( itemOnFileExistsOverwrite, QString::fromLatin1( "OnFileExistsOverwrite" ) ); - KConfigSkeleton::ItemBool *itemOnFileExistsResume; - itemOnFileExistsResume = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "OnFileExistsResume" ), mOnFileExistsResume, true ); - addItem( itemOnFileExistsResume, QString::fromLatin1( "OnFileExistsResume" ) ); - KConfigSkeleton::ItemBool *itemOnFileExistsSkip; - itemOnFileExistsSkip = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "OnFileExistsSkip" ), mOnFileExistsSkip, false ); - addItem( itemOnFileExistsSkip, QString::fromLatin1( "OnFileExistsSkip" ) ); - KConfigSkeleton::ItemBool *itemOnFileExistsIsEnabled; - itemOnFileExistsIsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "OnFileExistsIsEnabled" ), mOnFileExistsIsEnabled, false ); - addItem( itemOnFileExistsIsEnabled, QString::fromLatin1( "OnFileExistsIsEnabled" ) ); + TDEConfigSkeleton::ItemString *itemSkiplist; + itemSkiplist = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Skiplist" ), mSkiplist ); + addItem( itemSkiplist, TQString::fromLatin1( "Skiplist" ) ); + TDEConfigSkeleton::ItemString *itemPrioritylist; + itemPrioritylist = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Prioritylist" ), mPrioritylist ); + addItem( itemPrioritylist, TQString::fromLatin1( "Prioritylist" ) ); + TDEConfigSkeleton::ItemBool *itemDirCachingIsEnabled; + itemDirCachingIsEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DirCachingIsEnabled" ), mDirCachingIsEnabled, false ); + addItem( itemDirCachingIsEnabled, TQString::fromLatin1( "DirCachingIsEnabled" ) ); + TDEConfigSkeleton::ItemBool *itemDeleteMovesIntoTrashIsEnabled; + itemDeleteMovesIntoTrashIsEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "DeleteMovesIntoTrashIsEnabled" ), mDeleteMovesIntoTrashIsEnabled, false ); + addItem( itemDeleteMovesIntoTrashIsEnabled, TQString::fromLatin1( "DeleteMovesIntoTrashIsEnabled" ) ); + TDEConfigSkeleton::ItemBool *itemSkiplistIsEnabled; + itemSkiplistIsEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SkiplistIsEnabled" ), mSkiplistIsEnabled, false ); + addItem( itemSkiplistIsEnabled, TQString::fromLatin1( "SkiplistIsEnabled" ) ); + TDEConfigSkeleton::ItemBool *itemPrioritylistIsEnabled; + itemPrioritylistIsEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "PrioritylistIsEnabled" ), mPrioritylistIsEnabled, false ); + addItem( itemPrioritylistIsEnabled, TQString::fromLatin1( "PrioritylistIsEnabled" ) ); + TDEConfigSkeleton::ItemString *itemOnQueueFinished; + itemOnQueueFinished = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "OnQueueFinished" ), mOnQueueFinished ); + addItem( itemOnQueueFinished, TQString::fromLatin1( "OnQueueFinished" ) ); + TDEConfigSkeleton::ItemBool *itemOnQueueFinishedIsEnabled; + itemOnQueueFinishedIsEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OnQueueFinishedIsEnabled" ), mOnQueueFinishedIsEnabled, false ); + addItem( itemOnQueueFinishedIsEnabled, TQString::fromLatin1( "OnQueueFinishedIsEnabled" ) ); + TDEConfigSkeleton::ItemBool *itemOnFileExistsOverwrite; + itemOnFileExistsOverwrite = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OnFileExistsOverwrite" ), mOnFileExistsOverwrite, false ); + addItem( itemOnFileExistsOverwrite, TQString::fromLatin1( "OnFileExistsOverwrite" ) ); + TDEConfigSkeleton::ItemBool *itemOnFileExistsResume; + itemOnFileExistsResume = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OnFileExistsResume" ), mOnFileExistsResume, true ); + addItem( itemOnFileExistsResume, TQString::fromLatin1( "OnFileExistsResume" ) ); + TDEConfigSkeleton::ItemBool *itemOnFileExistsSkip; + itemOnFileExistsSkip = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OnFileExistsSkip" ), mOnFileExistsSkip, false ); + addItem( itemOnFileExistsSkip, TQString::fromLatin1( "OnFileExistsSkip" ) ); + TDEConfigSkeleton::ItemBool *itemOnFileExistsIsEnabled; + itemOnFileExistsIsEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "OnFileExistsIsEnabled" ), mOnFileExistsIsEnabled, false ); + addItem( itemOnFileExistsIsEnabled, TQString::fromLatin1( "OnFileExistsIsEnabled" ) ); - setCurrentGroup( QString::fromLatin1( "ui" ) ); + setCurrentGroup( TQString::fromLatin1( "ui" ) ); - KConfigSkeleton::ItemBool *itemSystrayIsEnabled; - itemSystrayIsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "SystrayIsEnabled" ), mSystrayIsEnabled, false ); - addItem( itemSystrayIsEnabled, QString::fromLatin1( "SystrayIsEnabled" ) ); - KConfigSkeleton::ItemBool *itemCommandLineIsEnabled; - itemCommandLineIsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "CommandLineIsEnabled" ), mCommandLineIsEnabled, true ); - addItem( itemCommandLineIsEnabled, QString::fromLatin1( "CommandLineIsEnabled" ) ); - KConfigSkeleton::ItemBool *itemHideHiddenFilesIsEnabled; - itemHideHiddenFilesIsEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "HideHiddenFilesIsEnabled" ), mHideHiddenFilesIsEnabled, false ); - addItem( itemHideHiddenFilesIsEnabled, QString::fromLatin1( "HideHiddenFilesIsEnabled" ) ); - KConfigSkeleton::ItemFont *itemLogwindowFont; - itemLogwindowFont = new KConfigSkeleton::ItemFont( currentGroup(), QString::fromLatin1( "LogwindowFont" ), mLogwindowFont, QFont( "DEC Terminal" ) ); - addItem( itemLogwindowFont, QString::fromLatin1( "LogwindowFont" ) ); + TDEConfigSkeleton::ItemBool *itemSystrayIsEnabled; + itemSystrayIsEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SystrayIsEnabled" ), mSystrayIsEnabled, false ); + addItem( itemSystrayIsEnabled, TQString::fromLatin1( "SystrayIsEnabled" ) ); + TDEConfigSkeleton::ItemBool *itemCommandLineIsEnabled; + itemCommandLineIsEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "CommandLineIsEnabled" ), mCommandLineIsEnabled, true ); + addItem( itemCommandLineIsEnabled, TQString::fromLatin1( "CommandLineIsEnabled" ) ); + TDEConfigSkeleton::ItemBool *itemHideHiddenFilesIsEnabled; + itemHideHiddenFilesIsEnabled = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "HideHiddenFilesIsEnabled" ), mHideHiddenFilesIsEnabled, false ); + addItem( itemHideHiddenFilesIsEnabled, TQString::fromLatin1( "HideHiddenFilesIsEnabled" ) ); + TDEConfigSkeleton::ItemFont *itemLogwindowFont; + itemLogwindowFont = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "LogwindowFont" ), mLogwindowFont, TQFont( "DEC Terminal" ) ); + addItem( itemLogwindowFont, TQString::fromLatin1( "LogwindowFont" ) ); - setCurrentGroup( QString::fromLatin1( "colors" ) ); + setCurrentGroup( TQString::fromLatin1( "colors" ) ); - KConfigSkeleton::ItemColor *itemLocalColor; - itemLocalColor = new KConfigSkeleton::ItemColor( currentGroup(), QString::fromLatin1( "LocalColor" ), mLocalColor, QColor( 244,247,66 ) ); - addItem( itemLocalColor, QString::fromLatin1( "LocalColor" ) ); - KConfigSkeleton::ItemColor *itemSuccessColor; - itemSuccessColor = new KConfigSkeleton::ItemColor( currentGroup(), QString::fromLatin1( "SuccessColor" ), mSuccessColor, QColor( 0,188,53 ) ); - addItem( itemSuccessColor, QString::fromLatin1( "SuccessColor" ) ); - KConfigSkeleton::ItemColor *itemBackgroundColor; - itemBackgroundColor = new KConfigSkeleton::ItemColor( currentGroup(), QString::fromLatin1( "BackgroundColor" ), mBackgroundColor, QColor( 0,90,128 ) ); - addItem( itemBackgroundColor, QString::fromLatin1( "BackgroundColor" ) ); - KConfigSkeleton::ItemColor *itemFailureColor; - itemFailureColor = new KConfigSkeleton::ItemColor( currentGroup(), QString::fromLatin1( "FailureColor" ), mFailureColor, QColor( 222,9,48 ) ); - addItem( itemFailureColor, QString::fromLatin1( "FailureColor" ) ); + TDEConfigSkeleton::ItemColor *itemLocalColor; + itemLocalColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "LocalColor" ), mLocalColor, TQColor( 244,247,66 ) ); + addItem( itemLocalColor, TQString::fromLatin1( "LocalColor" ) ); + TDEConfigSkeleton::ItemColor *itemSuccessColor; + itemSuccessColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "SuccessColor" ), mSuccessColor, TQColor( 0,188,53 ) ); + addItem( itemSuccessColor, TQString::fromLatin1( "SuccessColor" ) ); + TDEConfigSkeleton::ItemColor *itemBackgroundColor; + itemBackgroundColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "BackgroundColor" ), mBackgroundColor, TQColor( 0,90,128 ) ); + addItem( itemBackgroundColor, TQString::fromLatin1( "BackgroundColor" ) ); + TDEConfigSkeleton::ItemColor *itemFailureColor; + itemFailureColor = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "FailureColor" ), mFailureColor, TQColor( 222,9,48 ) ); + addItem( itemFailureColor, TQString::fromLatin1( "FailureColor" ) ); } KbConfig::~KbConfig() |