summaryrefslogtreecommitdiffstats
path: root/ksysv/ksv_conf.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /ksysv/ksv_conf.cpp
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/ksv_conf.cpp')
-rw-r--r--ksysv/ksv_conf.cpp30
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;
}