From 8c6b5eec52f84ccd76136f0bb4037036943d2a9a Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Mon, 24 Aug 2009 11:53:56 +0200 Subject: Remove QmlDomDocument::version Has been superseeded by the versioning/library infrastructure. --- src/declarative/qml/qmldom.cpp | 12 +----------- src/declarative/qml/qmldom.h | 1 - 2 files changed, 1 insertion(+), 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 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 imports() const; QList errors() const; -- cgit v0.12