|
|
@ -20,7 +20,7 @@
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
#include <twin.h>
|
|
|
|
#include <twin.h>
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include "keepmainwindow.h"
|
|
|
|
#include "keepmainwindow.h"
|
|
|
@ -39,15 +39,15 @@ int main(int argc, char **argv)
|
|
|
|
aboutData.addCredit("auxsvr", I18N_NOOP("Useful patches"));
|
|
|
|
aboutData.addCredit("auxsvr", I18N_NOOP("Useful patches"));
|
|
|
|
|
|
|
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
|
|
|
|
|
|
|
|
if ( !KUniqueApplication::start() )
|
|
|
|
if ( !TDEUniqueApplication::start() )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << "Already running, exiting." << endl;
|
|
|
|
kdDebug() << "Already running, exiting." << endl;
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
KUniqueApplication app;
|
|
|
|
TDEUniqueApplication app;
|
|
|
|
app.disableSessionManagement();
|
|
|
|
app.disableSessionManagement();
|
|
|
|
|
|
|
|
|
|
|
|
KeepMainWindow *keep = new KeepMainWindow( 0, "keep" );
|
|
|
|
KeepMainWindow *keep = new KeepMainWindow( 0, "keep" );
|
|
|
|