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