aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/upnp/igdcontrolpoint.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/igdcontrolpoint.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/igdcontrolpoint.cpp')
-rw-r--r--src/modules/upnp/igdcontrolpoint.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/upnp/igdcontrolpoint.cpp b/src/modules/upnp/igdcontrolpoint.cpp
index 0c2adce1e..dbc196eaa 100644
--- a/src/modules/upnp/igdcontrolpoint.cpp
+++ b/src/modules/upnp/igdcontrolpoint.cpp
@@ -49,9 +49,9 @@ namespace UPnP
: QObject(), m_bGatewayAvailable(false), m_iIgdPort(0), m_pRootService(nullptr), m_pWanConnectionService(nullptr)
{
qDebug() << "CREATED UPnP::IgdControlPoint: created control point"
- << " url='" << hostname << ":" << port << "/" << rootUrl << "'." << endl;
+ << " url='" << hostname << ":" << port << "/" << rootUrl << "'." << Qt::endl;
- qDebug() << "UPnP::IgdControlPoint: querying services..." << endl;
+ qDebug() << "UPnP::IgdControlPoint: querying services..." << Qt::endl;
// Store device url
m_szIgdHostname = hostname;
@@ -68,7 +68,7 @@ namespace UPnP
delete m_pRootService;
delete m_pWanConnectionService;
- qDebug() << "DESTROYED UPnP::IgdControlPoint [host=" << m_szIgdHostname << ", port=" << m_iIgdPort << "]" << endl;
+ qDebug() << "DESTROYED UPnP::IgdControlPoint [host=" << m_szIgdHostname << ", port=" << m_iIgdPort << "]" << Qt::endl;
}
// Return the external IP address
@@ -113,7 +113,7 @@ namespace UPnP
m_bGatewayAvailable = true;
qDebug() << "UPnP::IgdControlPoint: WAN/IP connection service found, "
- << "querying service '" << params.serviceId << "' for external IP address..." << endl;
+ << "querying service '" << params.serviceId << "' for external IP address..." << Qt::endl;
// Call the service
m_pWanConnectionService = new WanConnectionService(params);
@@ -122,7 +122,7 @@ namespace UPnP
}
else
{
- qDebug() << "UPnP::IgdControlPoint: no PPP/IP connection service found :(" << endl;
+ qDebug() << "UPnP::IgdControlPoint: no PPP/IP connection service found :(" << Qt::endl;
}
}
}
@@ -132,12 +132,12 @@ namespace UPnP
{
if(!error)
{
- qDebug() << "IgdControlPoint: UPnP gateway device found." << endl;
+ qDebug() << "IgdControlPoint: UPnP gateway device found." << Qt::endl;
}
else
{
// Just started, the request for the external IP failed. This should succeed, abort portation
- qDebug() << "Requesting external IP address failed, leaving UPnP gateway device untouched." << endl;
+ qDebug() << "Requesting external IP address failed, leaving UPnP gateway device untouched." << Qt::endl;
}
}