summaryrefslogtreecommitdiffstats
path: root/korganizer/urihandler.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/urihandler.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 6bbd45d2f..4b7c7bdff 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;