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