diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-03-06 22:35:01 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-14 12:37:30 +0100 |
commit | cd27535ca048a671fc6d2e5fdc9c0727b065c097 (patch) | |
tree | b1108f246296b81db7b4366dec0df956f864bcaf /src/network/kernel/qnetworkproxy.h | |
parent | 08790636f2b19a6bab97e3462211bec5b2d23c45 (diff) |
QtNetwork: make some constructors explicit
This is a semi-automatic search, so I'm
reasonably sure that all the exported ones
have been caught.
Change-Id: Ia00eb9194a5f64002bd7e7b894abf6333d1b825e
Reviewed-by: Jonas Gastal <jgastal@profusion.mobi>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/network/kernel/qnetworkproxy.h')
-rw-r--r-- | src/network/kernel/qnetworkproxy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/kernel/qnetworkproxy.h b/src/network/kernel/qnetworkproxy.h index 805f5cdb5c..2e5c3ed687 100644 --- a/src/network/kernel/qnetworkproxy.h +++ b/src/network/kernel/qnetworkproxy.h @@ -68,10 +68,10 @@ public: }; QNetworkProxyQuery(); - QNetworkProxyQuery(const QUrl &requestUrl, QueryType queryType = UrlRequest); + explicit QNetworkProxyQuery(const QUrl &requestUrl, QueryType queryType = UrlRequest); QNetworkProxyQuery(const QString &hostname, int port, const QString &protocolTag = QString(), QueryType queryType = TcpSocket); - QNetworkProxyQuery(quint16 bindPort, const QString &protocolTag = QString(), + explicit QNetworkProxyQuery(quint16 bindPort, const QString &protocolTag = QString(), QueryType queryType = TcpServer); QNetworkProxyQuery(const QNetworkProxyQuery &other); #ifndef QT_NO_BEARERMANAGEMENT |