summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlengine.h')
-rw-r--r--src/declarative/qml/qmlengine.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlengine.h b/src/declarative/qml/qmlengine.h
index 0c9da39..6a418b5 100644
--- a/src/declarative/qml/qmlengine.h
+++ b/src/declarative/qml/qmlengine.h
@@ -87,9 +87,10 @@ public:
QUrl base;
QmlImportsPrivate *d;
};
- void addImport(Imports*, const QString& uri, const QString& prefix, int version_major, int version_minor) const;
- QUrl resolveType(const Imports&, const QString& type) const;
- QmlType* resolveBuiltInType(const Imports& imports, const QByteArray& type) const;
+ void addImportPath(const QString& dir);
+ enum ImportType { LibraryImport, FileImport };
+ bool addToImport(Imports*, const QString& uri, const QString& prefix, const QString& version, ImportType type) const;
+ bool resolveType(const Imports&, const QByteArray& type, QmlType** type_return, QUrl* url_return ) const;
void setNetworkAccessManager(QNetworkAccessManager *);
QNetworkAccessManager *networkAccessManager() const;