Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 4 weeks ago
parent 0aff98420c
commit 3f0e35973e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -29,7 +29,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <tdemessagebox.h> #include <tdemessagebox.h>
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
#include "kbfxconfigapp.h" #include "kbfxconfigapp.h"
@ -45,7 +45,7 @@ static const TDECmdLineOptions options[] =
static KbfxConfigApp *mainWin = 0; static KbfxConfigApp *mainWin = 0;
class KbfxConfigApplication : public KUniqueApplication class KbfxConfigApplication : public TDEUniqueApplication
{ {
public: public:
KbfxConfigApplication() { } KbfxConfigApplication() { }
@ -125,7 +125,7 @@ class KbfxConfigApplication : public KUniqueApplication
mainWin->show(); mainWin->show();
mainWin->browserInit(); mainWin->browserInit();
} }
return KUniqueApplication::newInstance(); return TDEUniqueApplication::newInstance();
} }
}; };
@ -143,10 +143,10 @@ int main ( int argc, char **argv )
about.addAuthor ( "PhobosK", 0, "phobosk@mail.kbfx.net" ); about.addAuthor ( "PhobosK", 0, "phobosk@mail.kbfx.net" );
TDECmdLineArgs::init( argc, argv, &about ); TDECmdLineArgs::init( argc, argv, &about );
KUniqueApplication::addCmdLineOptions(); TDEUniqueApplication::addCmdLineOptions();
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
if (!KUniqueApplication::start()) if (!TDEUniqueApplication::start())
return 1; return 1;
KbfxConfigApplication app; KbfxConfigApplication app;

Loading…
Cancel
Save