diff options
author | Jesus Fernandez <jesus.fernandez@qt.io> | 2018-07-16 13:34:49 +0200 |
---|---|---|
committer | Jesus Fernandez <Jesus.Fernandez@qt.io> | 2018-07-16 13:58:23 +0000 |
commit | 435d1d53bd61491010dbb2130a27e35cd9798965 (patch) | |
tree | a2cb68838e4e2cd5eeea7451557683d96608d081 /src/network/access/qnetworkaccessmanager_p.h | |
parent | 9a3359b57b2286286c3a83fcfab79545b3ce114b (diff) |
Use nullptr instead of 0
Change-Id: I37e776b84193d705b48d5d75ad620fd41b271d9e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/access/qnetworkaccessmanager_p.h')
-rw-r--r-- | src/network/access/qnetworkaccessmanager_p.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/network/access/qnetworkaccessmanager_p.h b/src/network/access/qnetworkaccessmanager_p.h index 428110e8bc..ffed24a314 100644 --- a/src/network/access/qnetworkaccessmanager_p.h +++ b/src/network/access/qnetworkaccessmanager_p.h @@ -77,10 +77,11 @@ class QNetworkAccessManagerPrivate: public QObjectPrivate { public: QNetworkAccessManagerPrivate() - : networkCache(0), cookieJar(0), - thread(0), + : networkCache(nullptr), + cookieJar(nullptr), + thread(nullptr), #ifndef QT_NO_NETWORKPROXY - proxyFactory(0), + proxyFactory(nullptr), #endif #ifndef QT_NO_BEARERMANAGEMENT lastSessionState(QNetworkSession::Invalid), @@ -130,7 +131,7 @@ public: bool allowAuthenticationReuse = true); void cacheCredentials(const QUrl &url, const QAuthenticator *auth); QNetworkAuthenticationCredential *fetchCachedCredentials(const QUrl &url, - const QAuthenticator *auth = 0); + const QAuthenticator *auth = nullptr); #ifndef QT_NO_NETWORKPROXY void proxyAuthenticationRequired(const QUrl &url, @@ -140,7 +141,7 @@ public: QNetworkProxy *lastProxyAuthentication); void cacheProxyCredentials(const QNetworkProxy &proxy, const QAuthenticator *auth); QNetworkAuthenticationCredential *fetchCachedProxyCredentials(const QNetworkProxy &proxy, - const QAuthenticator *auth = 0); + const QAuthenticator *auth = nullptr); QList<QNetworkProxy> queryProxy(const QNetworkProxyQuery &query); #endif |