diff options
Diffstat (limited to 'korganizer/urihandler.cpp')
-rw-r--r-- | korganizer/urihandler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/urihandler.cpp b/korganizer/urihandler.cpp index 96644240..27a6e970 100644 --- a/korganizer/urihandler.cpp +++ b/korganizer/urihandler.cpp @@ -41,7 +41,7 @@ using namespace KCal; #include <tdefiledialog.h> #include <tdemessagebox.h> #include <kmimetype.h> -#include <kprocess.h> +#include <tdeprocess.h> #include <krun.h> #include <tdetempfile.h> #include <kdebug.h> @@ -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 ); |