summaryrefslogtreecommitdiffstats
path: root/korganizer/urihandler.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 /korganizer/urihandler.cpp
parent69779eb81c20b80b56ab698f44a944efd6107a74 (diff)
downloadtdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.tar.gz
tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.zip
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'korganizer/urihandler.cpp')
-rw-r--r--korganizer/urihandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/urihandler.cpp b/korganizer/urihandler.cpp
index 911c5aca0..27a6e9709 100644
--- a/korganizer/urihandler.cpp
+++ b/korganizer/urihandler.cpp
@@ -77,7 +77,7 @@ bool UriHandler::process( TQWidget *parent, const TQString &uri )
if ( uri.startsWith( "kmail:" ) ) {
// make sure kmail is running or the part is shown
- kapp->startServiceByDesktopPath("kmail");
+ tdeApp->startServiceByDesktopPath("kmail");
// parse string, show
int colon = uri.find( ':' );
@@ -91,13 +91,13 @@ bool UriHandler::process( TQWidget *parent, const TQString &uri )
} else if ( uri.startsWith( "mailto:" ) ) {
- TDEApplication::kApplication()->invokeMailer( uri.mid(7), TQString() );
+ tdeApp->invokeMailer( uri.mid(7), TQString() );
return true;
} else if ( uri.startsWith( "uid:" ) ) {
TQString uid = uidFromUri( uri );
- DCOPClient *client = TDEApplication::kApplication()->dcopClient();
+ DCOPClient *client = tdeApp->dcopClient();
const TQByteArray noParamData;
const TQByteArray paramData;
TQByteArray replyData;
@@ -108,7 +108,7 @@ bool UriHandler::process( TQWidget *parent, const TQString &uri )
if ( foundAbbrowser ) {
// KAddressbook is already running, so just DCOP to it to bring up the contact editor
#if KDE_IS_VERSION( 3, 2, 90 )
- kapp->updateRemoteUserTimestamp("kaddressbook");
+ tdeApp->updateRemoteUserTimestamp("kaddressbook");
#endif
DCOPRef kaddressbook( "kaddressbook", "KAddressBookIface" );
kaddressbook.send( "showContactEditor", uid );