summaryrefslogtreecommitdiffstats
path: root/kpersonalizer/kospage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpersonalizer/kospage.cpp')
-rw-r--r--kpersonalizer/kospage.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpersonalizer/kospage.cpp b/kpersonalizer/kospage.cpp
index 017b95fe7..885519a61 100644
--- a/kpersonalizer/kospage.cpp
+++ b/kpersonalizer/kospage.cpp
@@ -21,8 +21,8 @@
#include <tqtextview.h>
#include <tqmap.h>
-#include <ksimpleconfig.h>
-#include <kstandarddirs.h>
+#include <tdesimpleconfig.h>
+#include <tdestandarddirs.h>
#include <tdeapplication.h>
#include <tdelocale.h>
#include <dcopclient.h>
@@ -90,14 +90,14 @@ void KOSPage::save(bool currSettings){
TQApplication::syncX();
// enable/disable the mac menu, call dcop
// Tell kdesktop about the new config file
- kapp->dcopClient()->send("kdesktop", "KDesktopIface", "configure()", TQByteArray());
+ tdeApp->dcopClient()->send("kdesktop", "KDesktopIface", "configure()", TQByteArray());
///////////////////////////////////////////
/// restart twin for window effects
- kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString(""));
+ tdeApp->dcopClient()->send("twin*", "", "reconfigure()", TQString(""));
///////////////////////////////////////////
// Make the kaccess daemon read the changed config file
- kapp->startServiceByDesktopName("kaccess");
+ tdeApp->startServiceByDesktopName("kaccess");
}
@@ -309,9 +309,9 @@ void KOSPage::writeKeyEntrys(TQString keyfile){
kdDebug() << "KOSPage::writeKeyEntrys()" << endl;
// load the given .kksrc - file
- KSimpleConfig* scheme = new KSimpleConfig(keyfile, true);
+ TDESimpleConfig* scheme = new TDESimpleConfig(keyfile, true);
// load the default .kksrc - file
- KSimpleConfig* defScheme = new KSimpleConfig(locate("keys", "trinity.kksrc"), true);
+ TDESimpleConfig* defScheme = new TDESimpleConfig(locate("keys", "trinity.kksrc"), true);
// we need the entries from the default - file, so we can compare with them
TQMap<TQString, TQString> defMap = defScheme->entryMap("Global Shortcuts");