Rename KUniqueApplication to TDEUniqueApplication

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

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

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

Loading…
Cancel
Save