summaryrefslogtreecommitdiffstats
path: root/ksysv/ksv_conf.cpp
diff options
context:
space:
mode:
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;