|
|
@ -1,4 +1,4 @@
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
@ -17,15 +17,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();
|
|
|
|
|
|
|
|
|
|
|
|
if (!KUniqueApplication::start())
|
|
|
|
if (!TDEUniqueApplication::start())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << "dcopservice is already running!" << endl;
|
|
|
|
kdDebug() << "dcopservice is already running!" << endl;
|
|
|
|
return (0);
|
|
|
|
return (0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
KUniqueApplication app;
|
|
|
|
TDEUniqueApplication app;
|
|
|
|
// This app is started automatically, no need for session management
|
|
|
|
// This app is started automatically, no need for session management
|
|
|
|
app.disableSessionManagement();
|
|
|
|
app.disableSessionManagement();
|
|
|
|
kdDebug() << "starting dcopservice " << endl;
|
|
|
|
kdDebug() << "starting dcopservice " << endl;
|
|
|
|