Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 2 weeks ago
parent 70cf423633
commit 439182b724
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -34,7 +34,7 @@
#include <tdemainwindow.h> #include <tdemainwindow.h>
#include <tdemessagebox.h> #include <tdemessagebox.h>
#include <kprocess.h> #include <kprocess.h>
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
#include <tqcstring.h> #include <tqcstring.h>
#include <tqeventloop.h> #include <tqeventloop.h>
#include <tqsessionmanager.h> #include <tqsessionmanager.h>
@ -60,7 +60,7 @@ int RosegardenApplication::newInstance()
RosegardenGUIApp::self()->openFile(args->arg(0)); RosegardenGUIApp::self()->openFile(args->arg(0));
} }
return KUniqueApplication::newInstance(); return TDEUniqueApplication::newInstance();
} }
bool RosegardenApplication::isSequencerRegistered() bool RosegardenApplication::isSequencerRegistered()
@ -128,7 +128,7 @@ RosegardenApplication::refreshGUI(int maxTime)
void RosegardenApplication::saveState(TQSessionManager& sm) void RosegardenApplication::saveState(TQSessionManager& sm)
{ {
emit aboutToSaveState(); emit aboutToSaveState();
KUniqueApplication::saveState(sm); TDEUniqueApplication::saveState(sm);
} }
RosegardenApplication* RosegardenApplication::rgApp() RosegardenApplication* RosegardenApplication::rgApp()

@ -23,7 +23,7 @@
#ifndef _RG_ROSEGARDENAPPLICATION_H_ #ifndef _RG_ROSEGARDENAPPLICATION_H_
#define _RG_ROSEGARDENAPPLICATION_H_ #define _RG_ROSEGARDENAPPLICATION_H_
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
#include <tqcstring.h> #include <tqcstring.h>
#include <tqstring.h> #include <tqstring.h>
@ -43,12 +43,12 @@ namespace Rosegarden
* Handles RosegardenGUIApps perceived uniqueness for us. * Handles RosegardenGUIApps perceived uniqueness for us.
* *
*/ */
class RosegardenApplication : public KUniqueApplication class RosegardenApplication : public TDEUniqueApplication
{ {
TQ_OBJECT TQ_OBJECT
public: public:
RosegardenApplication(): KUniqueApplication(), m_noSequencerMode(false) {} RosegardenApplication(): TDEUniqueApplication(), m_noSequencerMode(false) {}
/** /**
* Handle the attempt at creation of a new instance - * Handle the attempt at creation of a new instance -

@ -468,7 +468,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KUniqueApplication::addCmdLineOptions(); // Add KUniqueApplication options. TDEUniqueApplication::addCmdLineOptions(); // Add TDEUniqueApplication options.
if (!RosegardenApplication::start()) if (!RosegardenApplication::start())
return 0; return 0;

@ -194,7 +194,7 @@
#include <tdetempfile.h> #include <tdetempfile.h>
#include <ktip.h> #include <ktip.h>
#include <tdetoolbar.h> #include <tdetoolbar.h>
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
#include <kurl.h> #include <kurl.h>
#include <kxmlguiclient.h> #include <kxmlguiclient.h>
#include <kxmlguifactory.h> #include <kxmlguifactory.h>

Loading…
Cancel
Save