summaryrefslogtreecommitdiffstats
path: root/korganizer/urihandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/urihandler.cpp')
-rw-r--r--korganizer/urihandler.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/korganizer/urihandler.cpp b/korganizer/urihandler.cpp
index 6bbd45d2..4b7c7bdf 100644
--- a/korganizer/urihandler.cpp
+++ b/korganizer/urihandler.cpp
@@ -35,7 +35,7 @@
#include <kprocess.h>
#include <kdebug.h>
-bool UriHandler::process( const QString &uri )
+bool UriHandler::process( const TQString &uri )
{
kdDebug(5850) << "UriHandler::process(): " << uri << endl;
@@ -47,21 +47,21 @@ bool UriHandler::process( const QString &uri )
// parse string, show
int colon = uri.find( ':' );
// extract 'number' from 'kmail:<number>/<id>'
- QString serialNumberStr = uri.mid( colon + 1 );
+ TQString serialNumberStr = uri.mid( colon + 1 );
serialNumberStr = serialNumberStr.left( serialNumberStr.find( '/' ) );
KMailIface_stub kmailIface( "kmail", "KMailIface" );
- kmailIface.showMail( serialNumberStr.toUInt(), QString() );
+ kmailIface.showMail( serialNumberStr.toUInt(), TQString() );
return true;
} else if ( uri.startsWith( "mailto:" ) ) {
- KApplication::kApplication()->invokeMailer( uri.mid(7), QString::null );
+ KApplication::kApplication()->invokeMailer( uri.mid(7), TQString::null );
return true;
} else if ( uri.startsWith( "uid:" ) ) {
DCOPClient *client = KApplication::kApplication()->dcopClient();
- const QByteArray noParamData;
- const QByteArray paramData;
- QByteArray replyData;
- QCString replyTypeStr;
+ const TQByteArray noParamData;
+ const TQByteArray paramData;
+ TQByteArray replyData;
+ TQCString replyTypeStr;
bool foundAbbrowser = client->call( "kaddressbook", "KAddressBookIface",
"interfaces()", noParamData,
replyTypeStr, replyData );
@@ -78,8 +78,8 @@ bool UriHandler::process( const QString &uri )
KaddressBook is not already running. Pass it the UID of the contact via the command line while starting it - its neater.
We start it without its main interface
*/
- QString iconPath = KGlobal::iconLoader()->iconPath( "go", KIcon::Small );
- QString tmpStr = "kaddressbook --editor-only --uid ";
+ TQString iconPath = KGlobal::iconLoader()->iconPath( "go", KIcon::Small );
+ TQString tmpStr = "kaddressbook --editor-only --uid ";
tmpStr += KProcess::quote( uri.mid( 6 ) );
KRun::runCommand( tmpStr, "KAddressBook", iconPath );
return true;