summaryrefslogtreecommitdiffstats
path: root/src/preferences.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-08-21 21:35:38 +0200
committerSlávek Banko <[email protected]>2013-08-21 21:35:38 +0200
commit2d5ab2165b5a7750693266c24dabdc6520fcfb2d (patch)
tree35c55949aec87a0ae958d4811b6dbe58a40f05ab /src/preferences.cpp
parentdc35d8eaac302891fa34128d0e2e148b4c409544 (diff)
downloadklcddimmer-2d5ab2165b5a7750693266c24dabdc6520fcfb2d.tar.gz
klcddimmer-2d5ab2165b5a7750693266c24dabdc6520fcfb2d.zip
Initial TDE conversion
Diffstat (limited to 'src/preferences.cpp')
-rw-r--r--src/preferences.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/preferences.cpp b/src/preferences.cpp
index b8e6328..c1183f8 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -1,4 +1,4 @@
-// This file is generated by kconfig_compiler from preferences.kcfg.
+// This file is generated by tdeconfig_compiler from preferences.kcfg.
// All changes you do to this file will be lost.
#include "preferences.h"
@@ -19,34 +19,34 @@ Preferences *Preferences::self()
}
Preferences::Preferences( )
- : KConfigSkeleton( TQString::fromLatin1( "klcddimmerrc" ) )
+ : TDEConfigSkeleton( TQString::fromLatin1( "klcddimmerrc" ) )
{
mSelf = this;
setCurrentGroup( TQString::fromLatin1( "general" ) );
- KConfigSkeleton::ItemString *itemProgram;
- itemProgram = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Program" ), mProgram, TQString::fromLatin1( "smartdimmer" ) );
+ TDEConfigSkeleton::ItemString *itemProgram;
+ itemProgram = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Program" ), mProgram, TQString::fromLatin1( "smartdimmer" ) );
addItem( itemProgram, TQString::fromLatin1( "Program" ) );
- KConfigSkeleton::ItemString *itemSetArgument;
- itemSetArgument = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "SetArgument" ), mSetArgument, TQString::fromLatin1( "-s" ) );
+ TDEConfigSkeleton::ItemString *itemSetArgument;
+ itemSetArgument = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "SetArgument" ), mSetArgument, TQString::fromLatin1( "-s" ) );
addItem( itemSetArgument, TQString::fromLatin1( "SetArgument" ) );
- KConfigSkeleton::ItemString *itemGetArgument;
- itemGetArgument = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "GetArgument" ), mGetArgument, TQString::fromLatin1( "-g" ) );
+ TDEConfigSkeleton::ItemString *itemGetArgument;
+ itemGetArgument = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "GetArgument" ), mGetArgument, TQString::fromLatin1( "-g" ) );
addItem( itemGetArgument, TQString::fromLatin1( "GetArgument" ) );
- KConfigSkeleton::ItemString *itemMinValue;
- itemMinValue = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "MinValue" ), mMinValue, TQString::fromLatin1( "1" ) );
+ TDEConfigSkeleton::ItemString *itemMinValue;
+ itemMinValue = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "MinValue" ), mMinValue, TQString::fromLatin1( "1" ) );
addItem( itemMinValue, TQString::fromLatin1( "MinValue" ) );
- KConfigSkeleton::ItemString *itemMaxValue;
- itemMaxValue = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "MaxValue" ), mMaxValue, TQString::fromLatin1( "21" ) );
+ TDEConfigSkeleton::ItemString *itemMaxValue;
+ itemMaxValue = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "MaxValue" ), mMaxValue, TQString::fromLatin1( "21" ) );
addItem( itemMaxValue, TQString::fromLatin1( "MaxValue" ) );
- KConfigSkeleton::ItemString *itemStep;
- itemStep = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Step" ), mStep, TQString::fromLatin1( "1" ) );
+ TDEConfigSkeleton::ItemString *itemStep;
+ itemStep = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Step" ), mStep, TQString::fromLatin1( "1" ) );
addItem( itemStep, TQString::fromLatin1( "Step" ) );
- KConfigSkeleton::ItemBool *itemSaveCurrent;
- itemSaveCurrent = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SaveCurrent" ), mSaveCurrent, false );
+ TDEConfigSkeleton::ItemBool *itemSaveCurrent;
+ itemSaveCurrent = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SaveCurrent" ), mSaveCurrent, false );
addItem( itemSaveCurrent, TQString::fromLatin1( "SaveCurrent" ) );
- KConfigSkeleton::ItemString *itemCurrentValue;
- itemCurrentValue = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CurrentValue" ), mCurrentValue );
+ TDEConfigSkeleton::ItemString *itemCurrentValue;
+ itemCurrentValue = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CurrentValue" ), mCurrentValue );
addItem( itemCurrentValue, TQString::fromLatin1( "CurrentValue" ) );
}