diff options
author | Iain <qt-info@nokia.com> | 2009-08-20 18:45:18 (GMT) |
---|---|---|
committer | Iain <qt-info@nokia.com> | 2009-08-20 18:45:18 (GMT) |
commit | 5f312095bf30aa54ba45a98c2db777fb57b6aee8 (patch) | |
tree | 2bd82e28b8b5a8fc0a8aaffd6cc63f3bf3ac98a0 /demos/browser/networkaccessmanager.h | |
parent | 6c2cabdc96c48637b18a1cb294d38e4ddb2f280d (diff) | |
parent | 4ba5a86f530e93c179c9049d36b2f38595a5ef09 (diff) | |
download | Qt-5f312095bf30aa54ba45a98c2db777fb57b6aee8.zip Qt-5f312095bf30aa54ba45a98c2db777fb57b6aee8.tar.gz Qt-5f312095bf30aa54ba45a98c2db777fb57b6aee8.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
Diffstat (limited to 'demos/browser/networkaccessmanager.h')
-rw-r--r-- | demos/browser/networkaccessmanager.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/demos/browser/networkaccessmanager.h b/demos/browser/networkaccessmanager.h index 381cb50..189d6a0 100644 --- a/demos/browser/networkaccessmanager.h +++ b/demos/browser/networkaccessmanager.h @@ -43,6 +43,7 @@ #define NETWORKACCESSMANAGER_H #include <QtNetwork/QNetworkAccessManager> +#include <QtNetwork/QNetworkRequest> class NetworkAccessManager : public QNetworkAccessManager { @@ -51,11 +52,18 @@ class NetworkAccessManager : public QNetworkAccessManager public: NetworkAccessManager(QObject *parent = 0); + virtual QNetworkReply* createRequest ( Operation op, const QNetworkRequest & req, QIODevice * outgoingData = 0 ); + private: QList<QString> sslTrustedHostList; + qint64 requestFinishedCount; + qint64 requestFinishedFromCacheCount; + qint64 requestFinishedPipelinedCount; + qint64 requestFinishedSecureCount; public slots: void loadSettings(); + void requestFinished(QNetworkReply *reply); private slots: void authenticationRequired(QNetworkReply *reply, QAuthenticator *auth); |