diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2009-05-19 07:39:44 (GMT) |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2009-05-19 07:39:44 (GMT) |
commit | 2d8a925309d2b5bfbff19df8bf607ccf3a343930 (patch) | |
tree | ebcba69f2b179793f78ad15450a0ab1cc32b448a /src/declarative/qml/qmlengine.h | |
parent | 38a978121bef0efd1f6fd573c4289e40352b63a6 (diff) | |
download | Qt-2d8a925309d2b5bfbff19df8bf607ccf3a343930.zip Qt-2d8a925309d2b5bfbff19df8bf607ccf3a343930.tar.gz Qt-2d8a925309d2b5bfbff19df8bf607ccf3a343930.tar.bz2 |
Added QmlEngine::componentSearchPath()
componentSearchPath() returns the list of urls (folders) inspected
by qml to locate sub components. This is used in Bauhaus.
Autotests have been stored in new "declarative/qmlengine" directory.
Diffstat (limited to 'src/declarative/qml/qmlengine.h')
-rw-r--r-- | src/declarative/qml/qmlengine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlengine.h b/src/declarative/qml/qmlengine.h index fde84d4..9382389 100644 --- a/src/declarative/qml/qmlengine.h +++ b/src/declarative/qml/qmlengine.h @@ -78,6 +78,8 @@ public: QMap<QString,QString> nameSpacePaths() const; QUrl componentUrl(const QUrl& src, const QUrl& baseUrl) const; + QList<QUrl> componentSearchPath(const QByteArray &qml, const QUrl &url) const; + void setNetworkAccessManager(QNetworkAccessManager *); QNetworkAccessManager *networkAccessManager() const; |