path: root/src/xml/dom
diff options
authorTeemu Katajisto <>2012-02-09 10:17:53 +0200
committerQt by Nokia <>2012-02-15 08:59:29 +0100
commit752a02143b8b29bfde40d1e70482bc051457f251 (patch)
treefc38c3aebe10d0d240f3c9e996d3d8afa5809ec0 /src/xml/dom
parentb9cf3dec9042bc0527e405da2b7f78ebfc561804 (diff)
Various documentation fixes ported from Qt 4.8
Final set of selected documentation fixes for qtbase from Qt 4.8 commit bacae725e584f51ee2fd83af7bef3e4515de9587 Task-number: QTBUG-13362 Task-number: QTBUG-18356 Task-number: QTBUG-18417 Task-number: QTBUG-18664 Task-number: QTBUG-21562 Task-number: QTBUG-22094 Task-number: QTBUG-18741 Task-number: QTBUG-15921 Task-number: QTBUG-15738 Change-Id: I3bd33bb7ce7aa991913ba82f3ea0e4b124f3ee41 Reviewed-by: Casper van Donderen <>
Diffstat (limited to 'src/xml/dom')
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xml/dom/qdom.cpp b/src/xml/dom/qdom.cpp
index f029b7258e..1eaa74a730 100644
--- a/src/xml/dom/qdom.cpp
+++ b/src/xml/dom/qdom.cpp
@@ -6561,6 +6561,10 @@ void QDomDocumentPrivate::saveDocument(QTextStream& s, const int indent, QDomNod
element is available using documentElement(). The textual
representation of the document can be obtained using toString().
+ \note The DOM tree might end up reserving a lot of memory if the XML
+ document is big. For such documents, the QXmlStreamReader or the
+ QXmlQuery classes might be better solutions.
It is possible to insert a node from another document into the
document using importNode().