summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex <qt-info@nokia.com>2010-05-24 06:07:18 (GMT)
committerAlex <qt-info@nokia.com>2010-05-24 06:07:18 (GMT)
commitaee4174771cf9d64b3b36db6ab90f29b084a39d6 (patch)
tree2688f6d8ffa116feee7b1c4a2ce6e6dccba066c3 /src
parent7104b7598f6c8d61d008edab227cfce3ec4442fc (diff)
downloadQt-aee4174771cf9d64b3b36db6ab90f29b084a39d6.zip
Qt-aee4174771cf9d64b3b36db6ab90f29b084a39d6.tar.gz
Qt-aee4174771cf9d64b3b36db6ab90f29b084a39d6.tar.bz2
Improve Bearer Management related documentation in QNetworkAccessManager
Reviewed-by: trustme
Diffstat (limited to 'src')
-rw-r--r--src/network/access/qnetworkaccessmanager.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/network/access/qnetworkaccessmanager.cpp b/src/network/access/qnetworkaccessmanager.cpp
index 1c7661d..c9e2638 100644
--- a/src/network/access/qnetworkaccessmanager.cpp
+++ b/src/network/access/qnetworkaccessmanager.cpp
@@ -141,6 +141,32 @@ static void ensureInitialized()
can be:
\snippet doc/src/snippets/code/src_network_access_qnetworkaccessmanager.cpp 1
+ \section1 Network and Roaming support
+
+ With the addition of the \l {Bearer Management} API to Qt 4.7
+ QNetworkAccessManager gained the ability to manage network connections.
+ QNetworkAccessManager can start the network interface if the device is
+ offline and terminates the interface if the current process is the last
+ one to use the uplink. Note that some platform utilize grace periods from
+ when the last application stops using a uplink until the system actually
+ terminates the connectivity link. Roaming is equally transparent. Any
+ queued/pending network requests are automatically transferred to new
+ access point.
+
+ Clients wanting to utlize this feature should not require any changes. In fact
+ it is likely that existing platform specific connection code can simply be
+ removed from the application.
+
+ \note The network and roaming support in QNetworkAccessManager is conditional
+ upon the platform supporting connection management. The
+ \l QNetworkConfigurationManager::NetworkSessionRequired can be used to
+ detect whether QNetworkAccessManager utilizes this feature. Currently only
+ Meego/Harmattan and Symbian platforms provide connection management support.
+
+ \note This feature cannot be used in combination with the Bearer Management
+ API as provided by QtMobility. Applications have to migrate to the Qt version
+ of Bearer Management.
+
\section1 Symbian Platform Security Requirements
On Symbian, processes which use this class must have the