From 636b6c637505b214820602a465d009880b1a3520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Thu, 17 Jan 2013 18:18:04 +0100 Subject: xml-processing: Small documentation corrections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit XbelReader and XbelWriter do not subclass QXmlStreamReader and QXmlStreamWriter anymore, but use aggregation instead. Change-Id: Idbe43e9bdbc47dc73b1984ce17ae4d18e9be5554 Reviewed-by: Thorbjørn Lindeijer --- src/xml/doc/src/xml-processing.qdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xml/doc/src/xml-processing.qdoc b/src/xml/doc/src/xml-processing.qdoc index c7c3edeeb0..8f534fe7a0 100644 --- a/src/xml/doc/src/xml-processing.qdoc +++ b/src/xml/doc/src/xml-processing.qdoc @@ -233,7 +233,7 @@ {hasError()} can be used to check and view the errors. An example of QXmlStreamReader implementation would be the \c XbelReader in - \l{QXmlStream Bookmarks Example}, which is a subclass of QXmlStreamReader. + \l{QXmlStream Bookmarks Example}, which wraps a QXmlStreamReader. The constructor takes \a treeWidget as a parameter and the class has Xbel specific functions: @@ -278,8 +278,8 @@ or subsequent calls to \l{QXmlStreamWriter::writeStartElement()} {writeStartElement()}. - The \c XbelWriter class from \l{QXmlStream Bookmarks Example} is a subclass - of QXmlStreamWriter. Its \c writeFile() function illustrates the core + The \c XbelWriter class from \l{QXmlStream Bookmarks Example} wraps a + QXmlStreamWriter. Its \c writeFile() function illustrates the core functions of QXmlStreamWriter mentioned above: \snippet streambookmarks/xbelwriter.cpp 1 -- cgit v1.2.3