|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
#include <tqtooltip.h>
|
|
|
|
|
#include <tqpixmap.h>
|
|
|
|
|
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
|
#include <tdeaboutapplication.h>
|
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
|
#include <twin.h>
|
|
|
|
@ -1330,13 +1330,13 @@ int main(int argc, char **argv)
|
|
|
|
|
|
|
|
|
|
TDECmdLineArgs::init(argc, argv, &about);
|
|
|
|
|
TDECmdLineArgs::addCmdLineOptions(daemonoptions,"kpilotconfig");
|
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
|
TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
|
TDECmdLineArgs *p = TDECmdLineArgs::parsedArgs();
|
|
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
KPilotConfig::getDebugLevel(p);
|
|
|
|
|
#endif
|
|
|
|
|
if (!KUniqueApplication::start())
|
|
|
|
|
if (!TDEUniqueApplication::start())
|
|
|
|
|
{
|
|
|
|
|
if (p->isSet("device")){
|
|
|
|
|
// tell the running kpilotDaemon to use
|
|
|
|
@ -1353,7 +1353,7 @@ int main(int argc, char **argv)
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
KUniqueApplication a(true, true);
|
|
|
|
|
TDEUniqueApplication a(true, true);
|
|
|
|
|
|
|
|
|
|
// A block just to keep variables local.
|
|
|
|
|
//
|
|
|
|
|