summaryrefslogtreecommitdiffstats
path: root/kaddressbook/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/main.cpp')
-rw-r--r--kaddressbook/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kaddressbook/main.cpp b/kaddressbook/main.cpp
index 2c88e89b..22af385d 100644
--- a/kaddressbook/main.cpp
+++ b/kaddressbook/main.cpp
@@ -29,18 +29,18 @@
#include <tdeabc/stdaddressbook.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
-#include <kcrash.h>
+#include <tdecrash.h>
#include <kdebug.h>
#include <tdelocale.h>
#include <tdestartupinfo.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <twin.h>
#include "kaddressbookmain.h"
#include "kaddressbook_options.h"
#include "kabcore.h"
-class KAddressBookApp : public KUniqueApplication {
+class KAddressBookApp : public TDEUniqueApplication {
public:
KAddressBookApp() : mMainWin( 0 ), mDefaultIsOpen( false ) {}
~KAddressBookApp() {}
@@ -95,13 +95,13 @@ int KAddressBookApp::newInstance()
}
// Handle startup notification and window activation
- // We do it ourselves instead of calling KUniqueApplication::newInstance
+ // We do it ourselves instead of calling TDEUniqueApplication::newInstance
// to avoid the show() call there.
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
static bool firstInstance = true;
if ( !firstInstance )
- TDEStartupInfo::setNewStartupId( mMainWin, kapp->startupId() );
+ TDEStartupInfo::setNewStartupId( mMainWin, tdeApp->startupId() );
firstInstance = false;
#endif
@@ -115,7 +115,7 @@ int main( int argc, char *argv[] )
TDECmdLineArgs::init( argc, argv, KABCore::createAboutData() );
TDECmdLineArgs::addCmdLineOptions( kaddressbook_options );
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
if ( !KAddressBookApp::start() )
return 0;