aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/upnp/Service.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2015-12-09 11:58:53 +0000
committerGravatar un1versal2015-12-19 02:40:22 +0000
commit7d4516afc4cd194f9224dcd5e07e0f234c162fdf (patch)
treea1a165c897339fcbd35a27108fe16c999a3041e2 /src/modules/upnp/Service.cpp
parentMerge pull request #1776 from TheReign/issue_1754_2 (diff)
downloadKVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.gz
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.bz2
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.zip
src/modules typos: capitalize, formatting, consistency and syntax fixes
Diffstat (limited to 'src/modules/upnp/Service.cpp')
-rw-r--r--src/modules/upnp/Service.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/upnp/Service.cpp b/src/modules/upnp/Service.cpp
index 6d44d3dbf..747250531 100644
--- a/src/modules/upnp/Service.cpp
+++ b/src/modules/upnp/Service.cpp
@@ -58,7 +58,7 @@ Service::Service(const QString &hostname, int port, const QString &informationUr
, m_iPort(port)
{
m_szInformationUrl = informationUrl;
- qDebug() << "UPnP::Service: Created information service url='" << m_szInformationUrl << "'." << endl;
+ qDebug() << "UPnP::Service: created information service url='" << m_szInformationUrl << "'." << endl;
}
@@ -239,7 +239,7 @@ void Service::slotRequestFinished()
{
QNetworkReply *reply = qobject_cast<QNetworkReply*>(sender());
- qDebug() << "UPnP::Service: Got HTTP response for request " << endl;
+ qDebug() << "UPnP::Service: received HTTP response for request " << endl;
if(!reply)
{
@@ -289,7 +289,7 @@ void Service::slotRequestFinished()
if(cutAt > -1)
{
baseNamespace.truncate(cutAt);
- qDebug() << "Device is using " << baseNamespace << " as xml namespace" << endl;
+ qDebug() << "Device is using " << baseNamespace << " as XML namespace" << endl;
m_szBaseXmlPrefix = baseNamespace;
}
}
@@ -297,7 +297,7 @@ void Service::slotRequestFinished()
// Determine how to process the data
if(xml.namedItem(m_szBaseXmlPrefix + ":Envelope").isNull())
{
- qDebug() << "UPnP::Service: Plain XML detected, calling gotInformationResponse()." << endl;
+ qDebug() << "UPnP::Service: plain XML detected, calling gotInformationResponse()." << endl;
// No SOAP envelope found, this is a normal response to callService()
gotInformationResponse( xml.lastChild() );
} else {
@@ -311,7 +311,7 @@ void Service::slotRequestFinished()
{
if(resultNode.nodeName().startsWith("m:") || resultNode.nodeName().startsWith("u:"))
{
- qDebug() << "UPnP::Service: SOAP Envelope detected, calling gotActionResponse()." << endl;
+ qDebug() << "UPnP::Service: SOAP envelope detected, calling gotActionResponse()." << endl;
// Action success, return SOAP body
QMap<QString,QString> resultValues;
@@ -329,14 +329,14 @@ void Service::slotRequestFinished()
gotActionResponse(resultNode.nodeName().mid(2), resultValues);
}
} else {
- qDebug() << "UPnP::Service: SOAP Error detected, calling gotActionResponse()." << endl;
+ qDebug() << "UPnP::Service: SOAP error detected, calling gotActionResponse()." << endl;
// Action failed
gotActionErrorResponse(resultNode);
}
}
} else {
- qWarning() << "UPnP::Service - XML Parsing failed: " << errorMessage << endl;
+ qWarning() << "UPnP::Service - XML parsing failed: " << errorMessage << endl;
}
// Only emit when bytes>0