summaryrefslogtreecommitdiffstats
path: root/plugins/upnp/soap.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/upnp/soap.cpp
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
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
Diffstat (limited to 'plugins/upnp/soap.cpp')
-rw-r--r--plugins/upnp/soap.cpp16
1 files changed, 8 insertions, 8 deletions
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("<?xml version=\"1.0\"?>\r\n"
+ TQString comm = TQString("<?xml version=\"1.0\"?>\r\n"
"<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
"<SOAP-ENV:Body>"
"<m:%1 xmlns:m=\"%2\"/>"
"</SOAP-ENV:Body></SOAP-ENV:Envelope>"
- "\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<Arg> & args)
+ TQString SOAP::createCommand(const TQString & action,const TQString & service,const TQValueList<Arg> & args)
{
- QString comm = QString("<?xml version=\"1.0\"?>\r\n"
+ TQString comm = TQString("<?xml version=\"1.0\"?>\r\n"
"<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
"<SOAP-ENV:Body>"
- "<m:%1 xmlns:m=\"%2\">").arg(action).arg(service);
+ "<m:%1 xmlns:m=\"%2\">").tqarg(action).tqarg(service);
- for (QValueList<Arg>::const_iterator i = args.begin();i != args.end();i++)
+ for (TQValueList<Arg>::const_iterator i = args.begin();i != args.end();i++)
{
const Arg & a = *i;
comm += "<" + a.element + ">" + a.value + "</" + a.element + ">";
}
- comm += QString("</m:%1></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n").arg(action);
+ comm += TQString("</m:%1></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n").tqarg(action);
return comm;
}
}