summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkrequest.cpp
diff options
context:
space:
mode:
authorShane Kearns <ext-shane.2.kearns@nokia.com>2012-04-04 15:20:05 +0100
committerQt by Nokia <qt-info@nokia.com>2012-04-11 22:18:19 +0200
commit2eccb1888901f6fbd1d10e0eba925c0affc83b42 (patch)
treee525ef0b43a73832a1b77faadc8e5c3a64d1b95a /src/network/access/qnetworkrequest.cpp
parent7e74236477e674b19de25016f4aaef0f86f1a0d6 (diff)
Define BackgroundRequestAttribute
This is so that the ConnectInBackground flag can be set on the QNetworkSession internal to QNAM according to pending requests. Change-Id: If0cc62f5117ed8febbbda7b7f6de62b11b274258 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
Diffstat (limited to 'src/network/access/qnetworkrequest.cpp')
-rw-r--r--src/network/access/qnetworkrequest.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp
index f94337eaeb..1c8655e9ae 100644
--- a/src/network/access/qnetworkrequest.cpp
+++ b/src/network/access/qnetworkrequest.cpp
@@ -237,6 +237,14 @@ QT_BEGIN_NAMESPACE
\omitvalue SynchronousRequestAttribute
+ \value BackgroundRequestAttribute
+ Type: QVariant::Bool (default: false)
+ Indicates that this is a background transfer, rather than a user initiated
+ transfer. Depending on the platform, background transfers may be subject
+ to different policies.
+ The QNetworkSession ConnectInBackground property will be set according to
+ this attribute.
+
\value User
Special type. Additional information can be passed in
QVariants with types ranging from User to UserMax. The default