summaryrefslogtreecommitdiffstats
path: root/kded/kded.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-20 00:21:02 -0600
committerTimothy Pearson <[email protected]>2013-01-20 00:21:02 -0600
commit8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a (patch)
tree19ff5ecf5e6b5168e5503677f18b85f3dfa91f95 /kded/kded.cpp
parent5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 (diff)
downloadtdelibs-8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a.tar.gz
tdelibs-8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kded/kded.cpp')
-rw-r--r--kded/kded.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kded/kded.cpp b/kded/kded.cpp
index 40e1983f7..538cfff09 100644
--- a/kded/kded.cpp
+++ b/kded/kded.cpp
@@ -73,19 +73,19 @@ static void runBuildSycoca(TQObject *callBackObj=0, const char *callBackSlot=0)
TQByteArray data;
TQDataStream dataStream( data, IO_WriteOnly );
dataStream << TQString("kbuildsycoca") << args;
- TQCString _launcher = KApplication::launcher();
+ TQCString _launcher = TDEApplication::launcher();
kapp->dcopClient()->callAsync(_launcher, _launcher, "tdeinit_exec_wait(TQString,TQStringList)", data, callBackObj, callBackSlot);
}
else
{
- KApplication::tdeinitExecWait( "kbuildsycoca", args );
+ TDEApplication::tdeinitExecWait( "kbuildsycoca", args );
}
}
static void runKonfUpdate()
{
- KApplication::tdeinitExecWait( "kconf_update", TQStringList(), 0, 0, "0" /*no startup notification*/ );
+ TDEApplication::tdeinitExecWait( "kconf_update", TQStringList(), 0, 0, "0" /*no startup notification*/ );
}
static void runDontChangeHostname(const TQCString &oldName, const TQCString &newName)
@@ -93,7 +93,7 @@ static void runDontChangeHostname(const TQCString &oldName, const TQCString &new
TQStringList args;
args.append(TQFile::decodeName(oldName));
args.append(TQFile::decodeName(newName));
- KApplication::tdeinitExecWait( "kdontchangethehostname", args );
+ TDEApplication::tdeinitExecWait( "kdontchangethehostname", args );
}
Kded::Kded(bool checkUpdates, bool new_startup)
@@ -876,7 +876,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
"$Id$",
I18N_NOOP("TDE Daemon - triggers Sycoca database updates when needed"));
- KApplication::installSigpipeHandler();
+ TDEApplication::installSigpipeHandler();
TDECmdLineArgs::init(argc, argv, &aboutData);