From 692de2d5dc29be2f467ea81cb3d6f77d17a56b83 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 10 Nov 2024 17:13:07 +0900 Subject: [PATCH] Rename KUniqueApplication to TDEUniqueApplication Signed-off-by: Michele Calgaro --- amor/main.cpp | 6 +++--- kodo/kodometer.h | 2 +- kodo/main.cpp | 4 ++-- kweather/main.cpp | 8 ++++---- kworldwatch/main.cpp | 4 ++-- kworldwatch/main.h | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/amor/main.cpp b/amor/main.cpp index 79c0738..27783c1 100644 --- a/amor/main.cpp +++ b/amor/main.cpp @@ -30,7 +30,7 @@ #include #include -#include +#include #include #include #include @@ -51,11 +51,11 @@ int main(int argc, char *argv[]) aboutData.addAuthor("Gerardo Puga", I18N_NOOP("Current maintainer"), "gpuga@gioia.ing.unlp.edu.ar"); TDECmdLineArgs::init( argc, argv, &aboutData ); - if (!KUniqueApplication::start()) { + if (!TDEUniqueApplication::start()) { fprintf(stderr, "%s is already running!\n", aboutData.appName()); exit(0); } - KUniqueApplication app; + TDEUniqueApplication app; // session management AmorSessionWidget *sessionWidget = new AmorSessionWidget; diff --git a/kodo/kodometer.h b/kodo/kodometer.h index d2c0346..77f40b0 100644 --- a/kodo/kodometer.h +++ b/kodo/kodometer.h @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include #include diff --git a/kodo/main.cpp b/kodo/main.cpp index 518cd9c..2414fa4 100644 --- a/kodo/main.cpp +++ b/kodo/main.cpp @@ -78,10 +78,10 @@ int main(int argc, char *argv[]) "dev@gioelebarabucci.com", "http://www.gioelebarabucci.com"); TDECmdLineArgs::init( argc, argv, aboutData ); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) exit(0); - KUniqueApplication a; + TDEUniqueApplication a; Kodometer *o = new Kodometer(); diff --git a/kweather/main.cpp b/kweather/main.cpp index 595e653..5b2d6fa 100644 --- a/kweather/main.cpp +++ b/kweather/main.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include @@ -17,15 +17,15 @@ int main (int argc, char *argv[]) TDECmdLineArgs::init( argc, argv, &aboutdata ); // TDECmdLineArgs::addCmdLineOptions( options ); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) { kdDebug() << "dcopservice is already running!" << endl; return (0); } - KUniqueApplication app; + TDEUniqueApplication app; // This app is started automatically, no need for session management app.disableSessionManagement(); kdDebug() << "starting dcopservice " << endl; diff --git a/kworldwatch/main.cpp b/kworldwatch/main.cpp index 5f8df3b..3195d55 100644 --- a/kworldwatch/main.cpp +++ b/kworldwatch/main.cpp @@ -178,7 +178,7 @@ int main(int argc, char *argv[]) TDEAboutData about("kworldclock", I18N_NOOP("TDE World Clock"), "1.5"); TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::addCmdLineOptions(options); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->isSet("themes")) @@ -188,7 +188,7 @@ int main(int argc, char *argv[]) return 0; } - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) return 0; WatchApplication app; diff --git a/kworldwatch/main.h b/kworldwatch/main.h index 5069480..7ef2792 100644 --- a/kworldwatch/main.h +++ b/kworldwatch/main.h @@ -29,7 +29,7 @@ /* ** Bug reports and questions can be sent to kde-devel@kde.org */ -#include +#include #include @@ -69,14 +69,14 @@ private: }; -class WatchApplication : public KUniqueApplication +class WatchApplication : public TDEUniqueApplication { TQ_OBJECT public: - WatchApplication() : KUniqueApplication() {}; + WatchApplication() : TDEUniqueApplication() {}; int newInstance();