|
|
@ -47,7 +47,7 @@
|
|
|
|
#include "kbabelsplash.h"
|
|
|
|
#include "kbabelsplash.h"
|
|
|
|
#include <version.h>
|
|
|
|
#include <version.h>
|
|
|
|
|
|
|
|
|
|
|
|
class KBabelDictApplication : public KApplication
|
|
|
|
class KBabelDictApplication : public TDEApplication
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
KBabelDictApplication();
|
|
|
|
KBabelDictApplication();
|
|
|
@ -58,7 +58,7 @@ private:
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
KBabelDictApplication::KBabelDictApplication()
|
|
|
|
KBabelDictApplication::KBabelDictApplication()
|
|
|
|
: KApplication()
|
|
|
|
: TDEApplication()
|
|
|
|
, topLevel(0)
|
|
|
|
, topLevel(0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
@ -69,7 +69,7 @@ KBabelDictApplication::KBabelDictApplication()
|
|
|
|
if(showSplash)
|
|
|
|
if(showSplash)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
timer.start(2000,true);
|
|
|
|
timer.start(2000,true);
|
|
|
|
KApplication::setOverrideCursor(KCursor::waitCursor());
|
|
|
|
TDEApplication::setOverrideCursor(KCursor::waitCursor());
|
|
|
|
splash = new KBabelSplash();
|
|
|
|
splash = new KBabelSplash();
|
|
|
|
splash->show();
|
|
|
|
splash->show();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -88,7 +88,7 @@ KBabelDictApplication::KBabelDictApplication()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(showSplash)
|
|
|
|
if(showSplash)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
KApplication::restoreOverrideCursor();
|
|
|
|
TDEApplication::restoreOverrideCursor();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TQObject::connect( topLevel, TQT_SIGNAL( destroyed() ),
|
|
|
|
TQObject::connect( topLevel, TQT_SIGNAL( destroyed() ),
|
|
|
@ -128,7 +128,7 @@ int main(int argc, char **argv)
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
|
|
|
|
|
|
|
// Add options from other components
|
|
|
|
// Add options from other components
|
|
|
|
KApplication::addCmdLineOptions();
|
|
|
|
TDEApplication::addCmdLineOptions();
|
|
|
|
|
|
|
|
|
|
|
|
KBabelDictApplication app;
|
|
|
|
KBabelDictApplication app;
|
|
|
|
|
|
|
|
|
|
|
|