Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/15/head
Michele Calgaro 3 weeks ago
parent 6ccc90d952
commit 30b277cd5b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -31,7 +31,6 @@
#include <tdeaboutdata.h>
#include <kdialogbase.h>
#include <kuniqueapplication.h>
#include "lmsensors.h"
#include "sensorslist.h"
#include "generalcfg.h"

@ -19,7 +19,7 @@
#include <tdeaboutdata.h>
#include <tdelocale.h>
#include <kuniqueapplication.h>
#include <tdeuniqueapplication.h>
#include "ksensorssplash.h"
#include "lmsensorsdock.h"
@ -47,15 +47,15 @@ int main(int argc, char *argv[])
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
TDEUniqueApplication::addCmdLineOptions();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
bool noDock= !args->isSet("dock");
bool showSplash= args->isSet("splash");
args->clear();
if(!KUniqueApplication::start()) return 0;
KUniqueApplication a;
if(!TDEUniqueApplication::start()) return 0;
TDEUniqueApplication a;
// We handle autostart via standard autostart-enabled .desktop file instead of the session
a.disableSessionManagement();

Loading…
Cancel
Save