aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/upnp/WanConnectionService.cpp
diff options
context:
space:
mode:
authorGravatar ctrlaltca2023-07-08 01:38:33 +0200
committerGravatar GitHub2023-07-08 01:38:33 +0200
commit28292170d8c02743cabfabba3a1623b8d71b9aa2 (patch)
tree03c7269f527a40a5b86863db7c111f2552afe46c /src/modules/upnp/WanConnectionService.cpp
parentMerge branch 'bugfix/script-editor-out-of-range-exception' (diff)
downloadKVIrc-28292170d8c02743cabfabba3a1623b8d71b9aa2.tar.gz
KVIrc-28292170d8c02743cabfabba3a1623b8d71b9aa2.tar.bz2
KVIrc-28292170d8c02743cabfabba3a1623b8d71b9aa2.zip
Port to (and require) Qt 5.15. Drop KDE4 support, fix KDE5 (#2541)
* Port to (and require) Qt 5.15. Drop KDE4 support, implement KDE5 support where needed. --------- Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>
Diffstat (limited to 'src/modules/upnp/WanConnectionService.cpp')
-rw-r--r--src/modules/upnp/WanConnectionService.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/upnp/WanConnectionService.cpp b/src/modules/upnp/WanConnectionService.cpp
index efbe87b73..1ea6223d3 100644
--- a/src/modules/upnp/WanConnectionService.cpp
+++ b/src/modules/upnp/WanConnectionService.cpp
@@ -96,7 +96,7 @@ namespace UPnP
void WanConnectionService::gotActionResponse(const QString & responseType, const QMap<QString, QString> & resultValues)
{
qDebug() << "UPnP::WanConnectionService: parsing action response:"
- << " type='" << responseType << "'." << endl;
+ << " type='" << responseType << "'." << Qt::endl;
// Check the message type
if(responseType == "GetExternalIPAddressResponse")
@@ -104,14 +104,14 @@ namespace UPnP
// Get the external IP address from the response
m_szExternalIpAddress = resultValues["NewExternalIPAddress"];
- qDebug() << "UPnP::WanConnectionService: externalIp='" << m_szExternalIpAddress << "'." << endl;
+ qDebug() << "UPnP::WanConnectionService: externalIp='" << m_szExternalIpAddress << "'." << Qt::endl;
}
else if(responseType == "GetNATRSIPStatusResponse")
{
// Get the nat status from the response
m_bNatEnabled = (resultValues["NewNATEnabled"] == "1");
- qDebug() << "UPnP::WanConnectionService: natEnabled=" << m_bNatEnabled << "." << endl;
+ qDebug() << "UPnP::WanConnectionService: natEnabled=" << m_bNatEnabled << "." << Qt::endl;
}
else if(responseType == "GetGenericPortMappingEntryResponse")
{
@@ -133,20 +133,20 @@ namespace UPnP
qDebug() << "UPnP::WanConnectionService - Received mapping: " << map->protocol << " " << map->remoteHost << ":" << map->externalPort
<< " to " << map->internalClient << ":" << map->internalPort
- << " max " << map->leaseDuration << "s '" << map->description << "' " << (map->enabled ? "enabled" : "disabled") << endl;
+ << " max " << map->leaseDuration << "s '" << map->description << "' " << (map->enabled ? "enabled" : "disabled") << Qt::endl;
}
else if(responseType == "AddPortMappingResponse")
{
- qDebug() << "UPnP::WanConnectionService - Received mapping enabled" << endl;
+ qDebug() << "UPnP::WanConnectionService - Received mapping enabled" << Qt::endl;
}
else if(responseType == "DeletePortMappingResponse")
{
- qDebug() << "UPnP::WanConnectionService - Received mapping disabled" << endl;
+ qDebug() << "UPnP::WanConnectionService - Received mapping disabled" << Qt::endl;
}
else
{
qDebug() << "UPnP::WanConnectionService - Unexpected response type"
- << " '" << responseType << "' encountered." << endl;
+ << " '" << responseType << "' encountered." << Qt::endl;
}
}