diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-07-23 07:13:00 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-07-23 07:13:00 (GMT) |
commit | fb0f1485ed37b8055b4ffbfd0805ceff1e9401f5 (patch) | |
tree | b747942c442d3b56355d7c9c61729e8de98f280b /src/declarative/qml/qmlengine.h | |
parent | 7fe100b56ccca40de193164d3ce19600cf50bdd4 (diff) | |
download | Qt-fb0f1485ed37b8055b4ffbfd0805ceff1e9401f5.zip Qt-fb0f1485ed37b8055b4ffbfd0805ceff1e9401f5.tar.gz Qt-fb0f1485ed37b8055b4ffbfd0805ceff1e9401f5.tar.bz2 |
Move import access functions to QmlEnginePrivate.
Diffstat (limited to 'src/declarative/qml/qmlengine.h')
-rw-r--r-- | src/declarative/qml/qmlengine.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/declarative/qml/qmlengine.h b/src/declarative/qml/qmlengine.h index 98deba7..2faad66 100644 --- a/src/declarative/qml/qmlengine.h +++ b/src/declarative/qml/qmlengine.h @@ -74,23 +74,8 @@ public: void clearComponentCache(); - struct Imports { - Imports(); - ~Imports(); - void setBaseUrl(const QUrl& url); - QUrl baseUrl() const { return base; } - private: - friend class QmlEngine; - QUrl base; - QmlImportsPrivate *d; - }; - struct ImportedNamespace; 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, ImportedNamespace** ns_return=0) const; - void resolveTypeInNamespace(ImportedNamespace*, const QByteArray& type, QmlType** type_return, QUrl* url_return ) const; void setNetworkAccessManager(QNetworkAccessManager *); QNetworkAccessManager *networkAccessManager() const; |