diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-01-28 01:27:49 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-03 06:57:42 (GMT) |
commit | df551752b7f430ab44bb1dd2ad0aa8c2a5187ef8 (patch) | |
tree | e314f8cad85765d52669a6778610c3377dd9ef9f /src/network/access/qnetworkaccessmanager_p.h | |
parent | 2149a313e671b22382828b58d2520807a5a061e1 (diff) | |
download | Qt-df551752b7f430ab44bb1dd2ad0aa8c2a5187ef8.zip Qt-df551752b7f430ab44bb1dd2ad0aa8c2a5187ef8.tar.gz Qt-df551752b7f430ab44bb1dd2ad0aa8c2a5187ef8.tar.bz2 |
Bearer Management Integration.
Perform application level roaming when all pending QNetworkReplys have
completed.
Emit temporary network failure error when connection to network is lost
but is possibly recovering due to roaming.
Don't save downloads in cache if they are not complete.
Diffstat (limited to 'src/network/access/qnetworkaccessmanager_p.h')
-rw-r--r-- | src/network/access/qnetworkaccessmanager_p.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccessmanager_p.h b/src/network/access/qnetworkaccessmanager_p.h index b6a266c..b9e3964 100644 --- a/src/network/access/qnetworkaccessmanager_p.h +++ b/src/network/access/qnetworkaccessmanager_p.h @@ -76,7 +76,8 @@ public: proxyFactory(0), #endif cookieJarCreated(false), - session(0) + session(0), + deferredMigration(false) { } ~QNetworkAccessManagerPrivate(); @@ -107,6 +108,13 @@ public: emit q->debugMessage(message); } + void _q_sessionOpened(); + void _q_sessionClosed(); + void _q_sessionError(QNetworkSession::SessionError error); + void _q_sessionStateChanged(QNetworkSession::State state); + void _q_sessionNewConfigurationActivated(); + void _q_sessionPreferredConfigurationChanged(const QNetworkConfiguration &config, bool isSeamless); + // this is the cache for storing downloaded files QAbstractNetworkCache *networkCache; @@ -121,6 +129,7 @@ public: bool cookieJarCreated; QNetworkSession *session; + bool deferredMigration; // this cache can be used by individual backends to cache e.g. their TCP connections to a server // and use the connections for multiple requests. |