summaryrefslogtreecommitdiffstats
path: root/kcontrol/background
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/background')
-rw-r--r--kcontrol/background/bgrender.cpp2
-rw-r--r--kcontrol/background/bgsettings.cpp2
-rw-r--r--kcontrol/background/main.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/background/bgrender.cpp b/kcontrol/background/bgrender.cpp
index 478cc4c45..fe74e00ef 100644
--- a/kcontrol/background/bgrender.cpp
+++ b/kcontrol/background/bgrender.cpp
@@ -402,7 +402,7 @@ wp_load:
// HACK: Use KFileMetaInfo only when we're attached to DCOP.
// KFileMetaInfo needs tdesycoca and so on, but this code is
// used also in krootimage (which in turn is used by tdm).
- if( kapp->dcopClient()->isAttached()) {
+ if( tdeApp->dcopClient()->isAttached()) {
KFileMetaInfo metaInfo(file);
if (metaInfo.isValid() && metaInfo.item("Orientation").isValid()) {
switch (metaInfo.item("Orientation").string().toInt()) {
diff --git a/kcontrol/background/bgsettings.cpp b/kcontrol/background/bgsettings.cpp
index 278a250c9..87d9479de 100644
--- a/kcontrol/background/bgsettings.cpp
+++ b/kcontrol/background/bgsettings.cpp
@@ -1275,6 +1275,6 @@ void TDEGlobalBackgroundSettings::writeSettings()
// tell kdesktop to get it's butt in gear and pick up the new settings
TQByteArray data;
- kapp->dcopClient()->send("kdesktop", "KDesktopIface", "configure()", data);
+ tdeApp->dcopClient()->send("kdesktop", "KDesktopIface", "configure()", data);
}
diff --git a/kcontrol/background/main.cpp b/kcontrol/background/main.cpp
index e27aa50ac..23478b5e1 100644
--- a/kcontrol/background/main.cpp
+++ b/kcontrol/background/main.cpp
@@ -100,7 +100,7 @@ void KBackground::save()
m_base->save();
// reconfigure kdesktop. kdesktop will notify all clients
- DCOPClient *client = kapp->dcopClient();
+ DCOPClient *client = tdeApp->dcopClient();
if (!client->isAttached())
client->attach();