summaryrefslogtreecommitdiffstats
path: root/libtdepim/kaddrbook.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-20 18:26:41 +0900
committerMichele Calgaro <[email protected]>2025-01-20 18:26:41 +0900
commitaae5ebe5008a41fe4a4767092d7e17600abf6725 (patch)
tree97002e11e1564bceeda4fb4b3b04164bb9e72286 /libtdepim/kaddrbook.cpp
parent69779eb81c20b80b56ab698f44a944efd6107a74 (diff)
downloadtdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.tar.gz
tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.zip
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <[email protected]>
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()");
}