diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-04-16 03:26:42 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-04-16 03:26:42 (GMT) |
commit | ab93420dfd9ebcde01e1aecc0729133803014719 (patch) | |
tree | 9cac66e348617292ee878fd4f2f3a5f6f1e2a706 /src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp | |
parent | 575f0064bd91e26daa75805c142c10a04a32c2fd (diff) | |
parent | de435ffb63c39bc44045ab4e96282c1bc1836feb (diff) | |
download | Qt-ab93420dfd9ebcde01e1aecc0729133803014719.zip Qt-ab93420dfd9ebcde01e1aecc0729133803014719.tar.gz Qt-ab93420dfd9ebcde01e1aecc0729133803014719.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp b/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp index 9dd7d39..f5f1a1f 100644 --- a/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp +++ b/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp @@ -56,12 +56,17 @@ QT_BEGIN_NAMESPACE To implement a factory, subclass QDeclarativeNetworkAccessManagerFactory and implement the create() method. + 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. + + \sa QDeclarativeEngine::setNetworkAccessManagerFactory() */ /*! |