diff options
author | Emanoil Kotsev <deloptes@gmail.com> | 2024-12-05 17:17:00 +0000 |
---|---|---|
committer | Emanoil Kotsev <deloptes@gmail.com> | 2024-12-05 17:17:00 +0000 |
commit | 8cfd84d9f2b13ee896e2bf5a23ac643745d249fe (patch) | |
tree | b2a9679e63d0822b0b2e32840312e11d0ddb17f2 | |
parent | 3bd723f9f9f729541c98c9e03a69bfa650b4905d (diff) | |
download | kdbusnotification-feat/with_dbus-1-tqt.tar.gz kdbusnotification-feat/with_dbus-1-tqt.zip |
KUniqueApplication -> TDEUniqueApplicationfeat/with_dbus-1-tqt
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
-rw-r--r-- | src/daemon/NotificationDaemon.cpp | 2 | ||||
-rw-r--r-- | src/daemon/NotificationDaemon.h | 4 | ||||
-rw-r--r-- | src/daemon/main.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon/NotificationDaemon.cpp b/src/daemon/NotificationDaemon.cpp index c982883..4aedc55 100644 --- a/src/daemon/NotificationDaemon.cpp +++ b/src/daemon/NotificationDaemon.cpp @@ -33,7 +33,7 @@ #define DBUS_CONNECTION_RETRY 3 NotificationDaemon::NotificationDaemon() - : KUniqueApplication(), + : TDEUniqueApplication(), retryCount(0) { // init session connection to dbus diff --git a/src/daemon/NotificationDaemon.h b/src/daemon/NotificationDaemon.h index c655f98..34c9c5b 100644 --- a/src/daemon/NotificationDaemon.h +++ b/src/daemon/NotificationDaemon.h @@ -23,13 +23,13 @@ #ifndef SRC_DAEMON_NOTIFICATIONDAEMON_H_ #define SRC_DAEMON_NOTIFICATIONDAEMON_H_ -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tqdbusconnection.h> #include <tqdbusmessage.h> #include "notificationNodeService.h" -class NotificationDaemon : public KUniqueApplication +class NotificationDaemon : public TDEUniqueApplication { TQ_OBJECT diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index 524f87d..2b993e5 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -43,9 +43,9 @@ main(int argc, char **argv) TDECmdLineArgs::init( argc, argv, &aboutData ); // no special cmdline options are needed // TDECmdLineArgs::addCmdLineOptions( options ); -// KUniqueApplication::addCmdLineOptions(); +// TDEUniqueApplication::addCmdLineOptions(); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) { tqDebug(i18n("notification-daemon-tde is already running.\n").local8Bit()); return 0; |