From 4cbdc22989df8e101dd51aee480a2601716259ff Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 9 Nov 2024 22:19:03 +0900 Subject: [PATCH] Rename KUniqueApplication to TDEUniqueApplication Signed-off-by: Michele Calgaro --- src/main.cpp | 4 ++-- src/portal_daemon.cpp | 2 +- src/portal_daemon.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index c9b9e30..61507a2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -38,9 +38,9 @@ int main(int argc, char **argv) TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::addCmdLineOptions(options); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) return 0; PortalDaemon app; diff --git a/src/portal_daemon.cpp b/src/portal_daemon.cpp index 7b2749d..09dfab6 100644 --- a/src/portal_daemon.cpp +++ b/src/portal_daemon.cpp @@ -34,7 +34,7 @@ #include "util.h" PortalDaemon::PortalDaemon() -: KUniqueApplication(), +: TDEUniqueApplication(), m_retryCount(0), d_root(nullptr), d_org(nullptr), diff --git a/src/portal_daemon.h b/src/portal_daemon.h index 4b52612..a86c3ad 100644 --- a/src/portal_daemon.h +++ b/src/portal_daemon.h @@ -30,7 +30,7 @@ #include // TDE -#include +#include // DBus #include "portal_service.h" @@ -40,7 +40,7 @@ #define DBUS_RETRY_TIMEOUT 5000 #define DBUS_RETRY_COUNT 3 -class PortalDaemon : public KUniqueApplication +class PortalDaemon : public TDEUniqueApplication { TQ_OBJECT