From 439182b72407f6b11079eb2a0ce1a091d0f17b2e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 9 Nov 2024 22:07:42 +0900 Subject: [PATCH] Rename KUniqueApplication to TDEUniqueApplication Signed-off-by: Michele Calgaro --- src/gui/application/RosegardenApplication.cpp | 6 +++--- src/gui/application/RosegardenApplication.h | 6 +++--- src/gui/application/main.cpp | 2 +- src/misc/stableheaders.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gui/application/RosegardenApplication.cpp b/src/gui/application/RosegardenApplication.cpp index 587fe8b..3a54d53 100644 --- a/src/gui/application/RosegardenApplication.cpp +++ b/src/gui/application/RosegardenApplication.cpp @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include #include @@ -60,7 +60,7 @@ int RosegardenApplication::newInstance() RosegardenGUIApp::self()->openFile(args->arg(0)); } - return KUniqueApplication::newInstance(); + return TDEUniqueApplication::newInstance(); } bool RosegardenApplication::isSequencerRegistered() @@ -128,7 +128,7 @@ RosegardenApplication::refreshGUI(int maxTime) void RosegardenApplication::saveState(TQSessionManager& sm) { emit aboutToSaveState(); - KUniqueApplication::saveState(sm); + TDEUniqueApplication::saveState(sm); } RosegardenApplication* RosegardenApplication::rgApp() diff --git a/src/gui/application/RosegardenApplication.h b/src/gui/application/RosegardenApplication.h index c437996..9435a64 100644 --- a/src/gui/application/RosegardenApplication.h +++ b/src/gui/application/RosegardenApplication.h @@ -23,7 +23,7 @@ #ifndef _RG_ROSEGARDENAPPLICATION_H_ #define _RG_ROSEGARDENAPPLICATION_H_ -#include +#include #include #include @@ -43,12 +43,12 @@ namespace Rosegarden * Handles RosegardenGUIApps perceived uniqueness for us. * */ -class RosegardenApplication : public KUniqueApplication +class RosegardenApplication : public TDEUniqueApplication { TQ_OBJECT public: - RosegardenApplication(): KUniqueApplication(), m_noSequencerMode(false) {} + RosegardenApplication(): TDEUniqueApplication(), m_noSequencerMode(false) {} /** * Handle the attempt at creation of a new instance - diff --git a/src/gui/application/main.cpp b/src/gui/application/main.cpp index ecb8e40..72729a2 100644 --- a/src/gui/application/main.cpp +++ b/src/gui/application/main.cpp @@ -468,7 +468,7 @@ int main(int argc, char *argv[]) TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. - KUniqueApplication::addCmdLineOptions(); // Add KUniqueApplication options. + TDEUniqueApplication::addCmdLineOptions(); // Add TDEUniqueApplication options. if (!RosegardenApplication::start()) return 0; diff --git a/src/misc/stableheaders.h b/src/misc/stableheaders.h index a3cb84a..994161b 100644 --- a/src/misc/stableheaders.h +++ b/src/misc/stableheaders.h @@ -194,7 +194,7 @@ #include #include #include -#include +#include #include #include #include