|
|
@ -29,7 +29,7 @@
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <tdelocale.h>
|
|
|
|
#include <tdelocale.h>
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include "kbfxconfigapp.h"
|
|
|
|
#include "kbfxconfigapp.h"
|
|
|
|
|
|
|
|
|
|
|
@ -45,7 +45,7 @@ static const TDECmdLineOptions options[] =
|
|
|
|
|
|
|
|
|
|
|
|
static KbfxConfigApp *mainWin = 0;
|
|
|
|
static KbfxConfigApp *mainWin = 0;
|
|
|
|
|
|
|
|
|
|
|
|
class KbfxConfigApplication : public KUniqueApplication
|
|
|
|
class KbfxConfigApplication : public TDEUniqueApplication
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
KbfxConfigApplication() { }
|
|
|
|
KbfxConfigApplication() { }
|
|
|
@ -125,7 +125,7 @@ class KbfxConfigApplication : public KUniqueApplication
|
|
|
|
mainWin->show();
|
|
|
|
mainWin->show();
|
|
|
|
mainWin->browserInit();
|
|
|
|
mainWin->browserInit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return KUniqueApplication::newInstance();
|
|
|
|
return TDEUniqueApplication::newInstance();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -143,10 +143,10 @@ int main ( int argc, char **argv )
|
|
|
|
about.addAuthor ( "PhobosK", 0, "phobosk@mail.kbfx.net" );
|
|
|
|
about.addAuthor ( "PhobosK", 0, "phobosk@mail.kbfx.net" );
|
|
|
|
|
|
|
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &about );
|
|
|
|
TDECmdLineArgs::init( argc, argv, &about );
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
|
|
|
|
|
|
|
if (!KUniqueApplication::start())
|
|
|
|
if (!TDEUniqueApplication::start())
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
|
|
|
|
|
|
|
|
|
KbfxConfigApplication app;
|
|
|
|
KbfxConfigApplication app;
|
|
|
|