|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
#include <kdebug.h>
|
|
|
|
|
#include <tdelocale.h>
|
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
|
|
|
|
|
|
#include "kbfxconfigapp.h"
|
|
|
|
|
|
|
|
|
@ -45,7 +45,7 @@ static const TDECmdLineOptions options[] =
|
|
|
|
|
|
|
|
|
|
static KbfxConfigApp *mainWin = 0;
|
|
|
|
|
|
|
|
|
|
class KbfxConfigApplication : public KUniqueApplication
|
|
|
|
|
class KbfxConfigApplication : public TDEUniqueApplication
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
KbfxConfigApplication() { }
|
|
|
|
@ -125,7 +125,7 @@ class KbfxConfigApplication : public KUniqueApplication
|
|
|
|
|
mainWin->show();
|
|
|
|
|
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" );
|
|
|
|
|
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &about );
|
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
|
TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
|
|
|
|
|
if (!KUniqueApplication::start())
|
|
|
|
|
if (!TDEUniqueApplication::start())
|
|
|
|
|
return 1;
|
|
|
|
|
|
|
|
|
|
KbfxConfigApplication app;
|
|
|
|
|