summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-29 22:43:05 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-29 22:43:05 (GMT)
commit176390773658ce396b1776e2872ecb389a2351a3 (patch)
tree3649ec2b2a5cbad94777bfb52155e8974e55417d /src/declarative/qml/qdeclarativeengine.h
parent5a6747ad0418862cafde45837c02a87bfb6b3db3 (diff)
downloadQt-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.h4
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 *);