From 1711870a073597c2282f32ad39a9b8ad5e1cf6bb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 5 Nov 2024 12:24:20 +0900 Subject: Rename KUniqueApplication to TDEUniqueApplication and remove obsolete kapp.h and kuniqueapp.h headers Signed-off-by: Michele Calgaro --- kded/kded.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kded') 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 -#include +#include #include #include #include @@ -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); -- cgit v1.2.1