summaryrefslogtreecommitdiffstats
path: root/libtdepim/kaddrbook.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/kaddrbook.cpp')
-rw-r--r--libtdepim/kaddrbook.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdepim/kaddrbook.cpp b/libtdepim/kaddrbook.cpp
index b32b017ed..cb831d419 100644
--- a/libtdepim/kaddrbook.cpp
+++ b/libtdepim/kaddrbook.cpp
@@ -58,13 +58,13 @@ void KAddrBookExternal::openEmail( const TQString &addr, TQWidget *parent ) {
TDEABC::Addressee::List addressees = ab->findByEmail( email );
if ( addressees.count() > 0 ) {
- if ( kapp->dcopClient()->isApplicationRegistered( "kaddressbook" ) ){
+ if ( tdeApp->dcopClient()->isApplicationRegistered( "kaddressbook" ) ){
//make sure kaddressbook is loaded, otherwise showContactEditor
//won't work as desired, see bug #87233
DCOPRef call ( "kaddressbook", "kaddressbook" );
call.send( "newInstance()" );
} else {
- kapp->startServiceByDesktopName( "kaddressbook" );
+ tdeApp->startServiceByDesktopName( "kaddressbook" );
}
DCOPRef call( "kaddressbook", "KAddressBookIface" );
@@ -162,12 +162,12 @@ void KAddrBookExternal::addEmail( const TQString& addr, TQWidget *parent) {
}
void KAddrBookExternal::openAddressBook(TQWidget *) {
- kapp->startServiceByDesktopName( "kaddressbook" );
+ tdeApp->startServiceByDesktopName( "kaddressbook" );
}
void KAddrBookExternal::addNewAddressee( TQWidget* )
{
- kapp->startServiceByDesktopName("kaddressbook");
+ tdeApp->startServiceByDesktopName("kaddressbook");
DCOPRef call("kaddressbook", "KAddressBookIface");
call.send("newContact()");
}