diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2009-08-24 09:53:56 (GMT) |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2009-08-24 09:53:56 (GMT) |
commit | 8c6b5eec52f84ccd76136f0bb4037036943d2a9a (patch) | |
tree | 20bdf12e164cc67be6a777172c138325e28cc4c9 | |
parent | b2102b848f1f6075c10b60d8de1ee531f0eddd30 (diff) | |
download | Qt-8c6b5eec52f84ccd76136f0bb4037036943d2a9a.zip Qt-8c6b5eec52f84ccd76136f0bb4037036943d2a9a.tar.gz Qt-8c6b5eec52f84ccd76136f0bb4037036943d2a9a.tar.bz2 |
Remove QmlDomDocument::version
Has been superseeded by the versioning/library infrastructure.
-rw-r--r-- | src/declarative/qml/qmldom.cpp | 12 | ||||
-rw-r--r-- | src/declarative/qml/qmldom.h | 1 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp index dca6bb9..78cd906 100644 --- a/src/declarative/qml/qmldom.cpp +++ b/src/declarative/qml/qmldom.cpp @@ -76,8 +76,7 @@ QmlDomDocumentPrivate::~QmlDomDocumentPrivate() \brief The QmlDomDocument class represents the root of a QML document A QML document is a self-contained snippet of QML, usually contained in a - single file. Each document has a version number, accessible through - QmlDomDocument::version(), and a root object, accessible through + single file. Each document has a root object, accessible through QmlDomDocument::rootObject(). The QmlDomDocument class allows the programmer to inspect a QML document by @@ -133,15 +132,6 @@ QmlDomDocument &QmlDomDocument::operator=(const QmlDomDocument &other) } /*! - Return the version number of the Qml document. Currently only version - 1 exists. -*/ -int QmlDomDocument::version() const -{ - return 1; -} - -/*! Returns all import statements in qml. */ QList<QmlDomImport> QmlDomDocument::imports() const diff --git a/src/declarative/qml/qmldom.h b/src/declarative/qml/qmldom.h index 0366d37..5c76004 100644 --- a/src/declarative/qml/qmldom.h +++ b/src/declarative/qml/qmldom.h @@ -72,7 +72,6 @@ public: ~QmlDomDocument(); QmlDomDocument &operator=(const QmlDomDocument &); - int version() const; QList<QmlDomImport> imports() const; QList<QmlError> errors() const; |