diff options
author | Michele Calgaro <[email protected]> | 2024-11-05 12:24:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-11-19 22:26:14 +0900 |
commit | 1711870a073597c2282f32ad39a9b8ad5e1cf6bb (patch) | |
tree | 1fb9f1d9ad4ec650960add05c3dd287cd42c7d61 /kded | |
parent | 87ad1e6c4d56fb52faa0d1af4afe5c33f05e6dca (diff) | |
download | tdelibs-1711870a073597c2282f32ad39a9b8ad5e1cf6bb.tar.gz tdelibs-1711870a073597c2282f32ad39a9b8ad5e1cf6bb.zip |
Rename KUniqueApplication to TDEUniqueApplication and remove obsolete kapp.h and kuniqueapp.h headers
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kded')
-rw-r--r-- | kded/kded.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kded/kded.cpp b/kded/kded.cpp index b401ed1f0..d1a0b1b0c 100644 --- a/kded/kded.cpp +++ b/kded/kded.cpp @@ -35,7 +35,7 @@ #include <dcopclient.h> -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdecmdlineargs.h> #include <tdeaboutdata.h> #include <tdelocale.h> @@ -768,10 +768,10 @@ public: } }; -class KDEDApplication : public KUniqueApplication +class KDEDApplication : public TDEUniqueApplication { public: - KDEDApplication() : KUniqueApplication( ) + KDEDApplication() : TDEUniqueApplication( ) { startup = true; dcopClient()->connectDCOPSignal( "DCOPServer", "", "terminateTDE()", @@ -794,7 +794,7 @@ public: QCStringList functions() { - QCStringList res = KUniqueApplication::functions(); + QCStringList res = TDEUniqueApplication::functions(); res += "bool loadModule(TQCString)"; res += "bool unloadModule(TQCString)"; res += "void registerWindowId(long int)"; @@ -869,7 +869,7 @@ public: replyType = "void"; return true; } - return KUniqueApplication::process(fun, data, replyType, replyData); + return TDEUniqueApplication::process(fun, data, replyType, replyData); } bool startup; @@ -886,7 +886,7 @@ extern "C" TDE_EXPORT int kdemain(int argc, char *argv[]) TDECmdLineArgs::init(argc, argv, &aboutData); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); TDECmdLineArgs::addCmdLineOptions( options ); @@ -922,13 +922,13 @@ extern "C" TDE_EXPORT int kdemain(int argc, char *argv[]) exit(0); } - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) { fprintf(stderr, "[kded] Daemon (kded) is already running.\n"); exit(0); } - KUniqueApplication::dcopClient()->setQtBridgeEnabled(false); + TDEUniqueApplication::dcopClient()->setQtBridgeEnabled(false); config->setGroup("General"); int HostnamePollInterval = config->readNumEntry("HostnamePollInterval", 5000); |