|
|
@ -23,7 +23,7 @@
|
|
|
|
#include <tqframe.h>
|
|
|
|
#include <tqframe.h>
|
|
|
|
#include <tqpixmap.h>
|
|
|
|
#include <tqpixmap.h>
|
|
|
|
#ifdef UNIQUEAPP
|
|
|
|
#ifdef UNIQUEAPP
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
#else // UNIQUEAPP
|
|
|
|
#else // UNIQUEAPP
|
|
|
|
#include <tdeapplication.h>
|
|
|
|
#include <tdeapplication.h>
|
|
|
|
#endif // UNIQUEAPP
|
|
|
|
#endif // UNIQUEAPP
|
|
|
@ -49,14 +49,14 @@ static TDECmdLineOptions options[] =
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef UNIQUEAPP
|
|
|
|
#ifdef UNIQUEAPP
|
|
|
|
class KBibTeXApplication: public KUniqueApplication
|
|
|
|
class KBibTeXApplication: public TDEUniqueApplication
|
|
|
|
#else // UNIQUEAPP
|
|
|
|
#else // UNIQUEAPP
|
|
|
|
class KBibTeXApplication: public TDEApplication
|
|
|
|
class KBibTeXApplication: public TDEApplication
|
|
|
|
#endif // UNIQUEAPP
|
|
|
|
#endif // UNIQUEAPP
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
#ifdef UNIQUEAPP
|
|
|
|
#ifdef UNIQUEAPP
|
|
|
|
KBibTeXApplication() : KUniqueApplication()
|
|
|
|
KBibTeXApplication() : TDEUniqueApplication()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// nothing
|
|
|
|
// nothing
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -116,7 +116,7 @@ int main( int argc, char **argv )
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef UNIQUEAPP
|
|
|
|
#ifdef UNIQUEAPP
|
|
|
|
if ( !KUniqueApplication::start() )
|
|
|
|
if ( !TDEUniqueApplication::start() )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << "Reusing existing KBibTeX instance" << endl;
|
|
|
|
kdDebug() << "Reusing existing KBibTeX instance" << endl;
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|