Rename KUniqueApplication to TDEUniqueApplication

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

@ -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()

@ -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 -

@ -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;

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

Loading…
Cancel
Save