Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 2 weeks ago
parent 01699088ad
commit 6698754166
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -20,7 +20,7 @@
#include <tdecmdlineargs.h> #include <tdecmdlineargs.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
#include "knutclient.h" #include "knutclient.h"
@ -53,21 +53,21 @@ 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(); TDEUniqueApplication::addCmdLineOptions();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
bool noDock = args->isSet("dock"); bool noDock = args->isSet("dock");
args->clear(); args->clear();
// main KUApp this is remark // main KUApp this is remark
if (!KUniqueApplication::start()) { if (!TDEUniqueApplication::start()) {
fprintf(stderr,"Sorry : KNutClient is already running!\n"); fprintf(stderr,"Sorry : KNutClient is already running!\n");
exit(0); exit(0);
} }
KUniqueApplication a; TDEUniqueApplication a;
// next line is for testing only. // next line is for testing only.
// I don't debug KUniqueApplication // I don't debug TDEUniqueApplication
// TDEApplication a; // TDEApplication a;
// //

Loading…
Cancel
Save