summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-27 01:23:43 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-27 01:23:43 (GMT)
commit836a2337e4a2ade2f6f10f9c101651584828c54c (patch)
treeaab55320a2092c2d345dc3c4983a2271c75e9860 /src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
parente68c90aa37da6f0eb97f658e58dbb384325cdad2 (diff)
downloadQt-836a2337e4a2ade2f6f10f9c101651584828c54c.zip
Qt-836a2337e4a2ade2f6f10f9c101651584828c54c.tar.gz
Qt-836a2337e4a2ade2f6f10f9c101651584828c54c.tar.bz2
Fix QDeclarativeNetworkAccessManagerFactory docs.
Diffstat (limited to 'src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp')
-rw-r--r--src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp b/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
index b116129..4f02b27 100644
--- a/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
+++ b/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
@@ -59,10 +59,6 @@ QT_BEGIN_NAMESPACE
To use a factory, assign it to the relevant QDeclarativeEngine using
QDeclarativeEngine::setNetworkAccessManagerFactory().
- If the created QNetworkAccessManager becomes invalid, due to a
- change in proxy settings, for example, call the invalidate() method.
- This will cause all QNetworkAccessManagers to be recreated.
-
Note: the create() method may be called by multiple threads, so ensure the
implementation of this method is reentrant.
@@ -83,6 +79,7 @@ QDeclarativeNetworkAccessManagerFactory::~QDeclarativeNetworkAccessManagerFactor
This allows proxies, caching and cookie support to be setup appropriately.
This method should return a new QNetworkAccessManager each time it is called.
+ The parent of the QNetworkAccessManager must be the \a parent provided.
Note: this method may be called by multiple threads, so ensure the
implementation of this method is reentrant.