summaryrefslogtreecommitdiffstats
path: root/src/upnp/soap.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-07-27 16:57:53 +0200
committerSlávek Banko <[email protected]>2013-07-27 18:48:46 +0200
commit7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (patch)
tree4655c7263ca5c64d23d10167cb459dd9cb253815 /src/upnp/soap.cpp
parent88ea2b6cd4382627fb6efca9cc54825aee881d1e (diff)
downloadtork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.tar.gz
tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.zip
Initial TQt conversion
Diffstat (limited to 'src/upnp/soap.cpp')
-rw-r--r--src/upnp/soap.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/upnp/soap.cpp b/src/upnp/soap.cpp
index b155b55..c44ab1e 100644
--- a/src/upnp/soap.cpp
+++ b/src/upnp/soap.cpp
@@ -22,9 +22,9 @@
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\"/>"
@@ -34,20 +34,20 @@ namespace kt
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);
- 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").arg(action);
return comm;
}
}