summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-27 01:29:18 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-27 01:29:18 (GMT)
commit46cf45c5c9dc74bf2cbe42c8a57be194ea9cf8cd (patch)
treea1cb31ac9391c69d450f8cd4eb4076c82e0445c8 /src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
parent836a2337e4a2ade2f6f10f9c101651584828c54c (diff)
downloadQt-46cf45c5c9dc74bf2cbe42c8a57be194ea9cf8cd.zip
Qt-46cf45c5c9dc74bf2cbe42c8a57be194ea9cf8cd.tar.gz
Qt-46cf45c5c9dc74bf2cbe42c8a57be194ea9cf8cd.tar.bz2
More QDeclarativeNetworkAccessManagerFactory doc clarification.
Diffstat (limited to 'src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp')
-rw-r--r--src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp b/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
index 4f02b27..399831d 100644
--- a/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
+++ b/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
@@ -78,8 +78,10 @@ QDeclarativeNetworkAccessManagerFactory::~QDeclarativeNetworkAccessManagerFactor
Implement this method to create a QNetworkAccessManager with \a parent.
This allows proxies, caching and cookie support to be setup appropriately.
- This method should return a new QNetworkAccessManager each time it is called.
+ This method must return a new QNetworkAccessManager each time it is called.
The parent of the QNetworkAccessManager must be the \a parent provided.
+ The QNetworkAccessManager(s) created by this
+ function will be destroyed automatically when their parent is destroyed.
Note: this method may be called by multiple threads, so ensure the
implementation of this method is reentrant.