From 836a2337e4a2ade2f6f10f9c101651584828c54c Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Tue, 27 Apr 2010 11:23:43 +1000 Subject: Fix QDeclarativeNetworkAccessManagerFactory docs. --- src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp | 5 +---- 1 file changed, 1 insertion(+), 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. -- cgit v0.12