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 --- arts/kde/mcop-dcop/kmcop.cpp | 8 ++++---- arts/knotify/knotify.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'arts') diff --git a/arts/kde/mcop-dcop/kmcop.cpp b/arts/kde/mcop-dcop/kmcop.cpp index d5e8c8642..a4f1430f4 100644 --- a/arts/kde/mcop-dcop/kmcop.cpp +++ b/arts/kde/mcop-dcop/kmcop.cpp @@ -17,7 +17,7 @@ */ #include -#include +#include #include #include #include @@ -54,15 +54,15 @@ int main(int argc, char **argv) aboutdata.addAuthor("Nikolas Zimmermann", I18N_NOOP("Author"), "wildfox@kde.org"); TDECmdLineArgs::init(argc, argv, &aboutdata); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); - if(!KUniqueApplication::start()) + if(!TDEUniqueApplication::start()) { kdDebug() << "Running kmcop found" << endl; return 0; } - KUniqueApplication app; + TDEUniqueApplication app; app.disableSessionManagement(); KArtsDispatcher dispatcher; diff --git a/arts/knotify/knotify.cpp b/arts/knotify/knotify.cpp index 14606b007..53c2baa8f 100644 --- a/arts/knotify/knotify.cpp +++ b/arts/knotify/knotify.cpp @@ -64,7 +64,7 @@ #endif #include #include -#include +#include #include #include "knotify.h" @@ -112,15 +112,15 @@ extern "C"{ aboutdata.addAuthor("Charles Samuels",I18N_NOOP("Previous Maintainer"),"charles@kde.org"); TDECmdLineArgs::init( argc, argv, &aboutdata ); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); // initialize application - if ( !KUniqueApplication::start() ) { + if ( !TDEUniqueApplication::start() ) { kdDebug() << "Running knotify found" << endl; return 0; } - KUniqueApplication app; + TDEUniqueApplication app; app.disableSessionManagement(); // KNotify is started on KDE startup and on demand (using -- cgit v1.2.1