diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-03-29 22:43:05 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-03-29 22:43:05 (GMT) |
commit | 176390773658ce396b1776e2872ecb389a2351a3 (patch) | |
tree | 3649ec2b2a5cbad94777bfb52155e8974e55417d /src/declarative/qml/qdeclarativeengine.h | |
parent | 5a6747ad0418862cafde45837c02a87bfb6b3db3 (diff) | |
download | Qt-176390773658ce396b1776e2872ecb389a2351a3.zip Qt-176390773658ce396b1776e2872ecb389a2351a3.tar.gz Qt-176390773658ce396b1776e2872ecb389a2351a3.tar.bz2 |
Simplify import path.
Reviewed-by: mae
Diffstat (limited to 'src/declarative/qml/qdeclarativeengine.h')
-rw-r--r-- | src/declarative/qml/qdeclarativeengine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.h b/src/declarative/qml/qdeclarativeengine.h index a24962e..b861c1b 100644 --- a/src/declarative/qml/qdeclarativeengine.h +++ b/src/declarative/qml/qdeclarativeengine.h @@ -77,8 +77,10 @@ public: void clearComponentCache(); - void addImportPath(const QString& dir); QStringList importPathList() const; + void setImportPathList(const QStringList &paths); + void addImportPath(const QString& dir); + bool importExtension(const QString &fileName, const QString &uri); void setNetworkAccessManagerFactory(QDeclarativeNetworkAccessManagerFactory *); |