summaryrefslogtreecommitdiffstats
path: root/src/gui/application
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-09 22:07:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-20 13:53:57 +0900
commit439182b72407f6b11079eb2a0ce1a091d0f17b2e (patch)
tree93d6b8abfd7f28fdf3388fd839ab2778ce63e372 /src/gui/application
parent70cf423633d47bf6985f3782b373948f753ff80c (diff)
downloadrosegarden-439182b72407f6b11079eb2a0ce1a091d0f17b2e.tar.gz
rosegarden-439182b72407f6b11079eb2a0ce1a091d0f17b2e.zip
Rename KUniqueApplication to TDEUniqueApplication
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/gui/application')
-rw-r--r--src/gui/application/RosegardenApplication.cpp6
-rw-r--r--src/gui/application/RosegardenApplication.h6
-rw-r--r--src/gui/application/main.cpp2
3 files changed, 7 insertions, 7 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 <tdemainwindow.h>
#include <tdemessagebox.h>
#include <kprocess.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <tqcstring.h>
#include <tqeventloop.h>
#include <tqsessionmanager.h>
@@ -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 <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <tqcstring.h>
#include <tqstring.h>
@@ -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;