|
|
@ -21,7 +21,7 @@
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
#include <dcopclient.h>
|
|
|
|
#include <dcopclient.h>
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
@ -54,12 +54,12 @@ int main(int argc, char *argv[])
|
|
|
|
about.addAuthor( "Jean-Baptiste Mardelle", 0, "bj@altern.org" );
|
|
|
|
about.addAuthor( "Jean-Baptiste Mardelle", 0, "bj@altern.org" );
|
|
|
|
TDECmdLineArgs::init(argc, argv, &about);
|
|
|
|
TDECmdLineArgs::init(argc, argv, &about);
|
|
|
|
TDECmdLineArgs::addCmdLineOptions(options);
|
|
|
|
TDECmdLineArgs::addCmdLineOptions(options);
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//KMessageBox::sorry(0,"nombre: "+TQString::number(i));
|
|
|
|
//KMessageBox::sorry(0,"nombre: "+TQString::number(i));
|
|
|
|
|
|
|
|
|
|
|
|
if (!KUniqueApplication::start())
|
|
|
|
if (!TDEUniqueApplication::start())
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
|
|
//KgpgAppletApp *app;
|
|
|
|
//KgpgAppletApp *app;
|
|
|
@ -69,7 +69,7 @@ int main(int argc, char *argv[])
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
|
|
KUniqueApplication app;
|
|
|
|
TDEUniqueApplication app;
|
|
|
|
|
|
|
|
|
|
|
|
// register ourselves as a dcop client
|
|
|
|
// register ourselves as a dcop client
|
|
|
|
//app.dcopClient()->registerAs(app.name(), false);
|
|
|
|
//app.dcopClient()->registerAs(app.name(), false);
|
|
|
|