diff options
-rw-r--r-- | src/declarative/qml/qmldom.cpp | 13 | ||||
-rw-r--r-- | src/declarative/qml/qmldom.h | 1 |
2 files changed, 1 insertions, 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<QmlDomImport> 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<QmlError> 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<QmlError> errors() const; bool load(QmlEngine *, const QByteArray &, const QUrl & = QUrl()); - QByteArray save() const; QmlDomObject rootObject() const; |