From 1c1403293485f35fd53db45aaa77a01cdd9627e7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 20:34:15 +0000 Subject: TQt4 port ktorrent This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- plugins/upnp/soap.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/upnp/soap.cpp') diff --git a/plugins/upnp/soap.cpp b/plugins/upnp/soap.cpp index b155b55..f80d5af 100644 --- a/plugins/upnp/soap.cpp +++ b/plugins/upnp/soap.cpp @@ -22,32 +22,32 @@ namespace kt { - QString SOAP::createCommand(const QString & action,const QString & service) + TQString SOAP::createCommand(const TQString & action,const TQString & service) { - QString comm = QString("\r\n" + TQString comm = TQString("\r\n" "" "" "" "" - "\r\n").arg(action).arg(service); + "\r\n").tqarg(action).tqarg(service); return comm; } - QString SOAP::createCommand(const QString & action,const QString & service,const QValueList & args) + TQString SOAP::createCommand(const TQString & action,const TQString & service,const TQValueList & args) { - QString comm = QString("\r\n" + TQString comm = TQString("\r\n" "" "" - "").arg(action).arg(service); + "").tqarg(action).tqarg(service); - for (QValueList::const_iterator i = args.begin();i != args.end();i++) + for (TQValueList::const_iterator i = args.begin();i != args.end();i++) { const Arg & a = *i; comm += "<" + a.element + ">" + a.value + ""; } - comm += QString("\r\n").arg(action); + comm += TQString("\r\n").tqarg(action); return comm; } } -- cgit v1.2.3