summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkaccessmanager_p.h
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2011-04-05 16:24:01 +0200
committerMarkus Goetz <Markus.Goetz@nokia.com>2011-05-03 16:34:48 +0200
commit856da3ee19a6c0f6c88ecc77b69ad41b4d4e6ffa (patch)
tree2bd381a3de12be4cae418717eafaf93799d5f0c3 /src/network/access/qnetworkaccessmanager_p.h
parent0c637cb07ba3c9b353e7e483a209537485cc4e2a (diff)
QNAM: Improve internal authenticationRequired()
Make it independant from the backend architecture to improve refactorability. Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/access/qnetworkaccessmanager_p.h')
-rw-r--r--src/network/access/qnetworkaccessmanager_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccessmanager_p.h b/src/network/access/qnetworkaccessmanager_p.h
index f64cc4dc79..a8237b30d2 100644
--- a/src/network/access/qnetworkaccessmanager_p.h
+++ b/src/network/access/qnetworkaccessmanager_p.h
@@ -94,7 +94,11 @@ public:
QNetworkReply *postProcess(QNetworkReply *reply);
void createCookieJar() const;
- void authenticationRequired(QNetworkAccessBackend *backend, QAuthenticator *authenticator);
+ void authenticationRequired(QAuthenticator *authenticator,
+ QNetworkReply *reply,
+ bool synchronous,
+ QUrl &url,
+ QUrl *urlForLastAuthentication);
void cacheCredentials(const QUrl &url, const QAuthenticator *auth);
QNetworkAuthenticationCredential *fetchCachedCredentials(const QUrl &url,
const QAuthenticator *auth = 0);