diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-01-29 01:58:52 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-01-29 01:58:52 (GMT) |
commit | 741d21719b942faa22a4bdf1a951d82d9fe73a68 (patch) | |
tree | 83b7edcff3fe208b311442490da708a651c8a640 /src/declarative/qml/qmlengine.h | |
parent | 7081c571a33480cb6bb3db7391c9570e4b4e4be1 (diff) | |
download | Qt-741d21719b942faa22a4bdf1a951d82d9fe73a68.zip Qt-741d21719b942faa22a4bdf1a951d82d9fe73a68.tar.gz Qt-741d21719b942faa22a4bdf1a951d82d9fe73a68.tar.bz2 |
Move image network access into a separate thread, with decoding.
Diffstat (limited to 'src/declarative/qml/qmlengine.h')
-rw-r--r-- | src/declarative/qml/qmlengine.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlengine.h b/src/declarative/qml/qmlengine.h index 7cbbcac..b9ec277 100644 --- a/src/declarative/qml/qmlengine.h +++ b/src/declarative/qml/qmlengine.h @@ -63,6 +63,7 @@ class QUrl; class QScriptEngine; class QScriptContext; class QNetworkAccessManager; +class QmlNetworkAccessManagerFactory; class Q_DECLARATIVE_EXPORT QmlEngine : public QObject { Q_PROPERTY(QString offlineStoragePath READ offlineStoragePath WRITE setOfflineStoragePath) @@ -77,7 +78,9 @@ public: void addImportPath(const QString& dir); - void setNetworkAccessManager(QNetworkAccessManager *); + void setNetworkAccessManagerFactory(QmlNetworkAccessManagerFactory *); + QmlNetworkAccessManagerFactory *networkAccessManagerFactory() const; + QNetworkAccessManager *networkAccessManager() const; void setOfflineStoragePath(const QString& dir); @@ -92,6 +95,9 @@ public: Q_SIGNALS: void quit (); +private Q_SLOTS: + void namInvalidated(); + private: Q_DECLARE_PRIVATE(QmlEngine) }; |