summaryrefslogtreecommitdiffstats
path: root/korganizer/urihandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/urihandler.cpp')
-rw-r--r--korganizer/urihandler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/urihandler.cpp b/korganizer/urihandler.cpp
index 0c406318e..7caad0e34 100644
--- a/korganizer/urihandler.cpp
+++ b/korganizer/urihandler.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "urihandler.h"
@@ -69,7 +69,7 @@ TQString UriHandler::uidFromUri( const TQString &uri )
return tmp;
}
-bool UriHandler::process( TQWidget *parent, const TQString &uri )
+bool UriHandler::process( TQWidget *tqparent, const TQString &uri )
{
kdDebug(5850) << "UriHandler::process(): " << uri << endl;
@@ -80,10 +80,10 @@ bool UriHandler::process( TQWidget *parent, const TQString &uri )
kapp->startServiceByDesktopPath("kmail");
// parse string, show
- int colon = uri.find( ':' );
+ int colon = uri.tqfind( ':' );
// extract 'number' from 'kmail:<number>/<id>'
TQString serialNumberStr = uri.mid( colon + 1 );
- serialNumberStr = serialNumberStr.left( serialNumberStr.find( '/' ) );
+ serialNumberStr = serialNumberStr.left( serialNumberStr.tqfind( '/' ) );
KMailIface_stub kmailIface( "kmail", "KMailIface" );
kmailIface.showMail( serialNumberStr.toUInt(), TQString() );
@@ -91,7 +91,7 @@ bool UriHandler::process( TQWidget *parent, const TQString &uri )
} else if ( uri.startsWith( "mailto:" ) ) {
- KApplication::kApplication()->invokeMailer( uri.mid(7), TQString::null );
+ KApplication::kApplication()->invokeMailer( uri.mid(7), TQString() );
return true;
} else if ( uri.startsWith( "uid:" ) ) {
@@ -127,7 +127,7 @@ bool UriHandler::process( TQWidget *parent, const TQString &uri )
} else if ( uri.startsWith( "ATTACH:" ) ) {
// a calendar incidence attachment
- return AttachmentHandler::view( parent, attachmentNameFromUri( uri ), uidFromUri( uri ) );
+ return AttachmentHandler::view( tqparent, attachmentNameFromUri( uri ), uidFromUri( uri ) );
} else { // no special URI, let KDE handle it
new KRun( KURL( uri ) );