summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-07-26 02:42:06 (GMT)
committerToby Tomkins <toby.tomkins@nokia.com>2010-07-29 03:37:53 (GMT)
commit57453beaaa22cf184c721e7813f933b0eb41faa8 (patch)
treede02bdd404554152ceddbfb8a11fb48d56f1b428 /src/network
parent94910720169dd3c2bcccfd9554ea6ac5a31ab48d (diff)
downloadQt-57453beaaa22cf184c721e7813f933b0eb41faa8.zip
Qt-57453beaaa22cf184c721e7813f933b0eb41faa8.tar.gz
Qt-57453beaaa22cf184c721e7813f933b0eb41faa8.tar.bz2
Cherry pick fix for MOBILITY-1077 from Qt Mobility.
7ef45318255c5cf1f10508753c9a2c55fc2cb8c0 321bd8b7b54e34a983b1ba142af836cf3e153a66 (cherry picked from commit c16f0a839743af36b36aea9c35f0d5ddfda3d6ac)
Diffstat (limited to 'src/network')
-rw-r--r--src/network/bearer/qnetworksession.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/network/bearer/qnetworksession.cpp b/src/network/bearer/qnetworksession.cpp
index 1ed6cbb..65de539 100644
--- a/src/network/bearer/qnetworksession.cpp
+++ b/src/network/bearer/qnetworksession.cpp
@@ -629,8 +629,10 @@ void QNetworkSession::reject()
If the session is based on a service network configuration the number of
sent bytes across all active member configurations are returned.
- This function may not always be supported on all platforms and returns
- 0. The platform capability can be detected via QNetworkConfigurationManager::DataStatistics.
+ This function may not always be supported on all platforms and returns 0.
+ The platform capability can be detected via QNetworkConfigurationManager::DataStatistics.
+
+ \note On some platforms this function may run the main event loop.
*/
quint64 QNetworkSession::bytesWritten() const
{
@@ -646,8 +648,10 @@ quint64 QNetworkSession::bytesWritten() const
If the session is based on a service network configuration the number of
sent bytes across all active member configurations are returned.
- This function may not always be supported on all platforms and returns
- 0. The platform capability can be detected via QNetworkConfigurationManager::DataStatistics.
+ This function may not always be supported on all platforms and returns 0.
+ The platform capability can be detected via QNetworkConfigurationManager::DataStatistics.
+
+ \note On some platforms this function may run the main event loop.
*/
quint64 QNetworkSession::bytesReceived() const
{