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