From aae5ebe5008a41fe4a4767092d7e17600abf6725 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 20 Jan 2025 18:26:41 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- korganizer/urihandler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'korganizer/urihandler.cpp') 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 ); -- cgit v1.2.1