summaryrefslogtreecommitdiffstats
path: root/kpersonalizer/kstylepage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:02:02 -0600
commitde7e5867a65e0a46f1388e3e50bc7eeddd1aecbf (patch)
treedbb3152c372f8620f9290137d461f3d9f9eba1cb /kpersonalizer/kstylepage.cpp
parent936d3cec490c13f2c5f7dd14f5e364fddaa6da71 (diff)
downloadtdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.tar.gz
tdebase-de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kpersonalizer/kstylepage.cpp')
-rw-r--r--kpersonalizer/kstylepage.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpersonalizer/kstylepage.cpp b/kpersonalizer/kstylepage.cpp
index 1b10d3082..eff55cb39 100644
--- a/kpersonalizer/kstylepage.cpp
+++ b/kpersonalizer/kstylepage.cpp
@@ -25,7 +25,7 @@
#include <tqstyle.h>
#include <tqobjectlist.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
#include <kstandarddirs.h>
#include <kapplication.h>
#include <kglobal.h>
@@ -187,17 +187,17 @@ void KStylePage::saveColors(bool curSettings){
////////////////////////////////////////////////////
// KDE-1.x support
- KSimpleConfig *kconfig =
+ KSimpleConfig *tdeconfig =
new KSimpleConfig( TQDir::homeDirPath() + "/.kderc" );
- kconfig->setGroup( "General" );
- kconfig->writeEntry("background", toSave->background );
- kconfig->writeEntry("selectBackground", toSave->selectBackground );
- kconfig->writeEntry("foreground", toSave->foreground );
- kconfig->writeEntry("windowForeground", toSave->windowForeground );
- kconfig->writeEntry("windowBackground", toSave->windowBackground );
- kconfig->writeEntry("selectForeground", toSave->selectForeground );
- kconfig->sync();
- delete kconfig;
+ tdeconfig->setGroup( "General" );
+ tdeconfig->writeEntry("background", toSave->background );
+ tdeconfig->writeEntry("selectBackground", toSave->selectBackground );
+ tdeconfig->writeEntry("foreground", toSave->foreground );
+ tdeconfig->writeEntry("windowForeground", toSave->windowForeground );
+ tdeconfig->writeEntry("windowBackground", toSave->windowBackground );
+ tdeconfig->writeEntry("selectForeground", toSave->selectForeground );
+ tdeconfig->sync();
+ delete tdeconfig;
config->setGroup("KDE");
// write the color scheme filename and the contrast, default 7, otherwise from file