Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 3 weeks ago
parent c479be6e48
commit 79216fbc6e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -18,7 +18,7 @@
#include <tdelocale.h> #include <tdelocale.h>
#include <kcrash.h> #include <kcrash.h>
#include <kdebug.h> #include <kdebug.h>
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -74,7 +74,7 @@ int main(int argc, char *argv[])
TDEApplication::addCmdLineOptions(); TDEApplication::addCmdLineOptions();
#endif #endif
#ifndef _ENABLE_DEBUG #ifndef _ENABLE_DEBUG
KUniqueApplication::addCmdLineOptions(); TDEUniqueApplication::addCmdLineOptions();
#endif #endif
if ((TQString("%1").arg(argv[1]) == "-kill") || (TQString("%1").arg(argv[1]) == "-k")) { if ((TQString("%1").arg(argv[1]) == "-kill") || (TQString("%1").arg(argv[1]) == "-k")) {
int status = system("killall kooldock"); int status = system("killall kooldock");
@ -83,14 +83,14 @@ int main(int argc, char *argv[])
} }
#ifndef _ENABLE_DEBUG #ifndef _ENABLE_DEBUG
if (!KUniqueApplication::start()) { if (!TDEUniqueApplication::start()) {
fprintf(stderr, "Kooldock is already running!\n"); fprintf(stderr, "Kooldock is already running!\n");
exit(0); exit(0);
} }
#endif #endif
#ifndef _ENABLE_DEBUG #ifndef _ENABLE_DEBUG
KUniqueApplication a; TDEUniqueApplication a;
#endif #endif
#ifdef _ENABLE_DEBUG #ifdef _ENABLE_DEBUG
TDEApplication a; TDEApplication a;

Loading…
Cancel
Save