From 9e2114fa326be128b03268865b39ddb2731e0173 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Mon, 24 Aug 2009 11:55:35 +0200 Subject: Remove QmlDomDocument::save --- src/declarative/qml/qmldom.cpp | 13 +------------ src/declarative/qml/qmldom.h | 1 - 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp index 78cd906..2aaf492 100644 --- a/src/declarative/qml/qmldom.cpp +++ b/src/declarative/qml/qmldom.cpp @@ -144,7 +144,7 @@ QList QmlDomDocument::imports() const data. On success, true is returned. If the \a data is malformed, false is returned and QmlDomDocument::loadError() contains an error description. - \sa QmlDomDocument::save() QmlDomDocument::loadError() + \sa QmlDomDocument::loadError() */ bool QmlDomDocument::load(QmlEngine *engine, const QByteArray &data, const QUrl &url) { @@ -211,17 +211,6 @@ QList QmlDomDocument::errors() const } /*! - Return a saved copy of the QmlDomDocument. The returned data will be valid - QML XML data. - - \sa load() -*/ -QByteArray QmlDomDocument::save() const -{ - return QByteArray(); -} - -/*! Returns the document's root object, or an invalid QmlDomObject if the document has no root. diff --git a/src/declarative/qml/qmldom.h b/src/declarative/qml/qmldom.h index 5c76004..f344bb2 100644 --- a/src/declarative/qml/qmldom.h +++ b/src/declarative/qml/qmldom.h @@ -76,7 +76,6 @@ public: QList errors() const; bool load(QmlEngine *, const QByteArray &, const QUrl & = QUrl()); - QByteArray save() const; QmlDomObject rootObject() const; -- cgit v0.12