|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
|
#include <kdebug.h>
|
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
@ -17,15 +17,15 @@ int main (int argc, char *argv[])
|
|
|
|
|
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutdata );
|
|
|
|
|
// TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
|
TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
|
|
|
|
|
|
if (!KUniqueApplication::start())
|
|
|
|
|
if (!TDEUniqueApplication::start())
|
|
|
|
|
{
|
|
|
|
|
kdDebug() << "dcopservice is already running!" << endl;
|
|
|
|
|
return (0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KUniqueApplication app;
|
|
|
|
|
TDEUniqueApplication app;
|
|
|
|
|
// This app is started automatically, no need for session management
|
|
|
|
|
app.disableSessionManagement();
|
|
|
|
|
kdDebug() << "starting dcopservice " << endl;
|
|
|
|
|