summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/declarative/qml/qmldom.cpp12
-rw-r--r--src/declarative/qml/qmldom.h1
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;