diff options
Diffstat (limited to 'ksysv/ksv_conf.cpp')
-rw-r--r-- | ksysv/ksv_conf.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ksysv/ksv_conf.cpp b/ksysv/ksv_conf.cpp index aa7ce8b..8522030 100644 --- a/ksysv/ksv_conf.cpp +++ b/ksysv/ksv_conf.cpp @@ -53,7 +53,7 @@ void KSVConfig::readSettings() mChangedSelectedColor = mConfig->readColorEntry ("Changed Selected Text", &Qt::red); mConfig->setGroup("Fonts"); - QFont tmp = KGlobalSettings::generalFont(); + TQFont tmp = KGlobalSettings::generalFont(); mServiceFont = mConfig->readFontEntry ("Service Font", &tmp); tmp = KGlobalSettings::fixedFont(); mNumberFont = mConfig->readFontEntry ("Number Font", &tmp); @@ -128,9 +128,9 @@ void KSVConfig::readRunlevels () { mConfig->setGroup ("Runlevels"); - QValueList<int> list = mConfig->readIntListEntry ("Show Runlevels"); + TQValueList<int> list = mConfig->readIntListEntry ("Show Runlevels"); - for (QValueList<int>::Iterator it = list.begin(); it != list.end(); ++it) + for (TQValueList<int>::Iterator it = list.begin(); it != list.end(); ++it) mShowRunlevel[*it] = true; if (mShowRunlevel.isEmpty()) @@ -140,9 +140,9 @@ void KSVConfig::readRunlevels () void KSVConfig::writeRunlevels () { - QValueList<int> list; + TQValueList<int> list; - for (QMap<int,bool>::Iterator it = mShowRunlevel.begin(); it != mShowRunlevel.end(); ++it) + for (TQMap<int,bool>::Iterator it = mShowRunlevel.begin(); it != mShowRunlevel.end(); ++it) if (it.data()) list.append (it.key()); @@ -155,20 +155,20 @@ void KSVConfig::setShowRunlevel (int index, bool state) mShowRunlevel[index] = state; } -QPoint KSVConfig::position() const +TQPoint KSVConfig::position() const { mConfig->setGroup("Geometry"); - return QPoint(mConfig->readNumEntry("X-Position", 0), + return TQPoint(mConfig->readNumEntry("X-Position", 0), mConfig->readNumEntry("Y-Position", 0)); } -void KSVConfig::setScriptPath (const QString& path) +void KSVConfig::setScriptPath (const TQString& path) { mScriptPath = path; } -void KSVConfig::setRunlevelPath (const QString& path) +void KSVConfig::setRunlevelPath (const TQString& path) { mRunlevelPath = path; } @@ -180,32 +180,32 @@ KSVConfig* KSVConfig::self() return &conf; } -void KSVConfig::setNewNormalColor (const QColor& col) +void KSVConfig::setNewNormalColor (const TQColor& col) { mNewNormalColor = col; } -void KSVConfig::setNewSelectedColor (const QColor& col) +void KSVConfig::setNewSelectedColor (const TQColor& col) { mNewSelectedColor = col; } -void KSVConfig::setChangedNormalColor (const QColor& col) +void KSVConfig::setChangedNormalColor (const TQColor& col) { mChangedNormalColor = col; } -void KSVConfig::setChangedSelectedColor (const QColor& col) +void KSVConfig::setChangedSelectedColor (const TQColor& col) { mChangedSelectedColor = col; } -void KSVConfig::setNumberFont (const QFont& font) +void KSVConfig::setNumberFont (const TQFont& font) { mNumberFont = font; } -void KSVConfig::setServiceFont (const QFont& font) +void KSVConfig::setServiceFont (const TQFont& font) { mServiceFont = font; } |