From 8b15518e52e7516910c89d5782eecbfd9e30dce1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 10 Nov 2024 17:38:07 +0900 Subject: Rename KUniqueApplication to TDEUniqueApplication Signed-off-by: Michele Calgaro --- quanta/src/kqapp.cpp | 2 +- quanta/src/kqapp.h | 4 ++-- quanta/src/main.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'quanta/src') diff --git a/quanta/src/kqapp.cpp b/quanta/src/kqapp.cpp index 8bd35024..5b0a8e2b 100644 --- a/quanta/src/kqapp.cpp +++ b/quanta/src/kqapp.cpp @@ -119,7 +119,7 @@ void KQApplication::slotSplashTimeout() } KQUniqueApplication::KQUniqueApplication() - : KUniqueApplication() + : TDEUniqueApplication() { TDEGlobal::dirs()->addPrefix(PREFIX); dcopClient()->registerAs("quanta", false); diff --git a/quanta/src/kqapp.h b/quanta/src/kqapp.h index 625bdaf6..bc97576d 100644 --- a/quanta/src/kqapp.h +++ b/quanta/src/kqapp.h @@ -20,7 +20,7 @@ #define KTQAPPLICATION_H #include -#include +#include class TDECmdLineArgs; class KSplashScreen; @@ -62,7 +62,7 @@ class KQApplication : public TDEApplication, KQApplicationPrivate void slotSplashTimeout(); }; -class KQUniqueApplication : public KUniqueApplication, KQApplicationPrivate +class KQUniqueApplication : public TDEUniqueApplication, KQApplicationPrivate { TQ_OBJECT diff --git a/quanta/src/main.cpp b/quanta/src/main.cpp index 183b2149..07489b58 100644 --- a/quanta/src/main.cpp +++ b/quanta/src/main.cpp @@ -187,7 +187,7 @@ int main(int argc, char *argv[]) for ( int i = 1; i < argc; i++ ) { if ( strcmp(argv[i], uniq) == 0 ) { isUnique = true; - KUniqueApplication::addCmdLineOptions(); // before calling parsedArgs! + TDEUniqueApplication::addCmdLineOptions(); // before calling parsedArgs! break; } } @@ -196,8 +196,8 @@ int main(int argc, char *argv[]) TDEApplication::disableAutoDcopRegistration(); if (isUnique) { - KUniqueApplication::dcopClient()->registerAs("quanta-foo"); - if (KUniqueApplication::dcopClient()->isApplicationRegistered("quanta")) + TDEUniqueApplication::dcopClient()->registerAs("quanta-foo"); + if (TDEUniqueApplication::dcopClient()->isApplicationRegistered("quanta")) { TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); for (int i = 0; i < args->count(); i++) -- cgit v1.2.1