summaryrefslogtreecommitdiffstats
path: root/ksysv/ksv_conf.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
commitb09bffed6b43262948018dfb0f11890850ddf7c1 (patch)
tree138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /ksysv/ksv_conf.cpp
parent6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff)
downloadtdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz
tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/ksv_conf.cpp')
-rw-r--r--ksysv/ksv_conf.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksysv/ksv_conf.cpp b/ksysv/ksv_conf.cpp
index 8522030..e279193 100644
--- a/ksysv/ksv_conf.cpp
+++ b/ksysv/ksv_conf.cpp
@@ -47,10 +47,10 @@ void KSVConfig::readSettings()
mShowDescription = mConfig->readBoolEntry("ShowDescription", true);
mConfig->setGroup("Colors");
- mNewNormalColor = mConfig->readColorEntry ("New Text", &Qt::blue);
- mNewSelectedColor = mConfig->readColorEntry ("New Selected Text", &Qt::blue);
- mChangedNormalColor = mConfig->readColorEntry ("Changed Text", &Qt::red);
- mChangedSelectedColor = mConfig->readColorEntry ("Changed Selected Text", &Qt::red);
+ mNewNormalColor = mConfig->readColorEntry ("New Text", &TQt::blue);
+ mNewSelectedColor = mConfig->readColorEntry ("New Selected Text", &TQt::blue);
+ mChangedNormalColor = mConfig->readColorEntry ("Changed Text", &TQt::red);
+ mChangedSelectedColor = mConfig->readColorEntry ("Changed Selected Text", &TQt::red);
mConfig->setGroup("Fonts");
TQFont tmp = KGlobalSettings::generalFont();
@@ -75,8 +75,8 @@ void KSVConfig::readLegacySettings ()
mPanningFactor = mConfig->readNumEntry("PanningFactor", 80);
mShowDescription = mConfig->readBoolEntry("ShowDescription", true);
mConfig->setGroup("Colors");
- mNewNormalColor = mConfig->readColorEntry("New", &Qt::blue);
- mChangedNormalColor = mConfig->readColorEntry("Changed", &Qt::red);
+ mNewNormalColor = mConfig->readColorEntry("New", &TQt::blue);
+ mChangedNormalColor = mConfig->readColorEntry("Changed", &TQt::red);
}
void KSVConfig::writeSettings() {
@@ -100,7 +100,7 @@ void KSVConfig::writeSettings() {
mConfig->writeEntry("Service Font", mServiceFont);
mConfig->writeEntry("Number Font", mNumberFont);
- // save screen geometry
+ // save screen tqgeometry
KMainWindow* mw = static_cast<KMainWindow*>(kapp->mainWidget());
if (mw)
@@ -118,7 +118,7 @@ void KSVConfig::writeSettings() {
bool KSVConfig::showRunlevel (int index) const
{
- if (mShowRunlevel.contains (index))
+ if (mShowRunlevel.tqcontains (index))
return mShowRunlevel[index];
else
return false;