|
|
@ -19,7 +19,7 @@
|
|
|
|
***************************************************************************/
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <kdebug.h>
|
|
|
@ -46,14 +46,14 @@ 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();
|
|
|
|
kdDebug() << "Starting up...!" << endl;
|
|
|
|
kdDebug() << "Starting up...!" << endl;
|
|
|
|
if ( ! KUniqueApplication::start() ) {
|
|
|
|
if ( ! TDEUniqueApplication::start() ) {
|
|
|
|
kdDebug() << "kmfiptinterface is already running!" << endl;
|
|
|
|
kdDebug() << "kmfiptinterface is already running!" << endl;
|
|
|
|
return ( 0 );
|
|
|
|
return ( 0 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
KUniqueApplication app;
|
|
|
|
TDEUniqueApplication app;
|
|
|
|
kdDebug() << "starting kmfiptinterface " << endl;
|
|
|
|
kdDebug() << "starting kmfiptinterface " << endl;
|
|
|
|
// This app is started automatically, no need for session management
|
|
|
|
// This app is started automatically, no need for session management
|
|
|
|
app.dcopClient() ->setAcceptCalls( true );
|
|
|
|
app.dcopClient() ->setAcceptCalls( true );
|
|
|
|