From de7e5867a65e0a46f1388e3e50bc7eeddd1aecbf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 01:02:02 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- kpersonalizer/kstylepage.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kpersonalizer/kstylepage.cpp') 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 #include -#include +#include #include #include #include @@ -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 -- cgit v1.2.1