|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
|
#include <kdebug.h>
|
|
|
|
|
#include <tdelocale.h>
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
|
#include <twin.h>
|
|
|
|
|
|
|
|
|
|
#include <KoGlobal.h>
|
|
|
|
@ -33,7 +33,7 @@
|
|
|
|
|
static const char* description = I18N_NOOP("KOffice Workspace");
|
|
|
|
|
static const char* version = KOFFICE_VERSION_STRING;
|
|
|
|
|
|
|
|
|
|
class KoShellApp : public KUniqueApplication {
|
|
|
|
|
class KoShellApp : public TDEUniqueApplication {
|
|
|
|
|
public:
|
|
|
|
|
KoShellApp() : mMainWindow( 0 ) {}
|
|
|
|
|
~KoShellApp() {}
|
|
|
|
@ -64,7 +64,7 @@ int KoShellApp::newInstance()
|
|
|
|
|
}
|
|
|
|
|
// Handle startup notification and window activation
|
|
|
|
|
// (The first time it will do nothing except note that it was called)
|
|
|
|
|
return KUniqueApplication::newInstance();
|
|
|
|
|
return TDEUniqueApplication::newInstance();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
extern "C" KOSHELL_EXPORT int kdemain( int argc, char **argv )
|
|
|
|
|