summaryrefslogtreecommitdiffstats
path: root/src/preferences.cpp
diff options
context:
space:
mode:
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 11bc28d..b8e6328 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -19,35 +19,35 @@ Preferences *Preferences::self()
}
Preferences::Preferences( )
- : KConfigSkeleton( QString::fromLatin1( "klcddimmerrc" ) )
+ : KConfigSkeleton( TQString::fromLatin1( "klcddimmerrc" ) )
{
mSelf = this;
- setCurrentGroup( QString::fromLatin1( "general" ) );
+ setCurrentGroup( TQString::fromLatin1( "general" ) );
KConfigSkeleton::ItemString *itemProgram;
- itemProgram = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Program" ), mProgram, QString::fromLatin1( "smartdimmer" ) );
- addItem( itemProgram, QString::fromLatin1( "Program" ) );
+ itemProgram = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Program" ), mProgram, TQString::fromLatin1( "smartdimmer" ) );
+ addItem( itemProgram, TQString::fromLatin1( "Program" ) );
KConfigSkeleton::ItemString *itemSetArgument;
- itemSetArgument = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "SetArgument" ), mSetArgument, QString::fromLatin1( "-s" ) );
- addItem( itemSetArgument, QString::fromLatin1( "SetArgument" ) );
+ itemSetArgument = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "SetArgument" ), mSetArgument, TQString::fromLatin1( "-s" ) );
+ addItem( itemSetArgument, TQString::fromLatin1( "SetArgument" ) );
KConfigSkeleton::ItemString *itemGetArgument;
- itemGetArgument = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "GetArgument" ), mGetArgument, QString::fromLatin1( "-g" ) );
- addItem( itemGetArgument, QString::fromLatin1( "GetArgument" ) );
+ itemGetArgument = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "GetArgument" ), mGetArgument, TQString::fromLatin1( "-g" ) );
+ addItem( itemGetArgument, TQString::fromLatin1( "GetArgument" ) );
KConfigSkeleton::ItemString *itemMinValue;
- itemMinValue = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "MinValue" ), mMinValue, QString::fromLatin1( "1" ) );
- addItem( itemMinValue, QString::fromLatin1( "MinValue" ) );
+ itemMinValue = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "MinValue" ), mMinValue, TQString::fromLatin1( "1" ) );
+ addItem( itemMinValue, TQString::fromLatin1( "MinValue" ) );
KConfigSkeleton::ItemString *itemMaxValue;
- itemMaxValue = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "MaxValue" ), mMaxValue, QString::fromLatin1( "21" ) );
- addItem( itemMaxValue, QString::fromLatin1( "MaxValue" ) );
+ itemMaxValue = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "MaxValue" ), mMaxValue, TQString::fromLatin1( "21" ) );
+ addItem( itemMaxValue, TQString::fromLatin1( "MaxValue" ) );
KConfigSkeleton::ItemString *itemStep;
- itemStep = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "Step" ), mStep, QString::fromLatin1( "1" ) );
- addItem( itemStep, QString::fromLatin1( "Step" ) );
+ itemStep = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Step" ), mStep, TQString::fromLatin1( "1" ) );
+ addItem( itemStep, TQString::fromLatin1( "Step" ) );
KConfigSkeleton::ItemBool *itemSaveCurrent;
- itemSaveCurrent = new KConfigSkeleton::ItemBool( currentGroup(), QString::fromLatin1( "SaveCurrent" ), mSaveCurrent, false );
- addItem( itemSaveCurrent, QString::fromLatin1( "SaveCurrent" ) );
+ itemSaveCurrent = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SaveCurrent" ), mSaveCurrent, false );
+ addItem( itemSaveCurrent, TQString::fromLatin1( "SaveCurrent" ) );
KConfigSkeleton::ItemString *itemCurrentValue;
- itemCurrentValue = new KConfigSkeleton::ItemString( currentGroup(), QString::fromLatin1( "CurrentValue" ), mCurrentValue );
- addItem( itemCurrentValue, QString::fromLatin1( "CurrentValue" ) );
+ itemCurrentValue = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "CurrentValue" ), mCurrentValue );
+ addItem( itemCurrentValue, TQString::fromLatin1( "CurrentValue" ) );
}
Preferences::~Preferences()