Rename KUniqueApplication to TDEUniqueApplication

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

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

Loading…
Cancel
Save