Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 2 weeks ago
parent 490fe1ee36
commit 9f50be1eeb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -24,7 +24,7 @@
#endif
#include "tdepowersave.h"
#include <kuniqueapplication.h>
#include <tdeuniqueapplication.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <tdelocale.h>
@ -74,16 +74,16 @@ int kdemain(int argc, char **argv)
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions (options);
KUniqueApplication::addCmdLineOptions();
TDEUniqueApplication::addCmdLineOptions();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (!KUniqueApplication::start()) {
if (!TDEUniqueApplication::start()) {
fprintf(stderr, "TDEPowersave is already running!\n");
exit(0);
}
KUniqueApplication app;
TDEUniqueApplication app;
app.disableSessionManagement();
tdepowersave *mainWin = 0;

Loading…
Cancel
Save