From c107b6d8171d4dec3e8ee7b1911bb41cb15c1f14 Mon Sep 17 00:00:00 2001 From: Kevin Krammer Date: Fri, 30 Nov 2012 17:24:03 +0100 Subject: Docs: fix code snippet paths in xml-processing.qdoc Configuration file's exampledirs variable already contains the xml sub directory, snippet paths are relative to that Change-Id: I627aebade224afdb7bd38f2b1a089a747e49fabf Reviewed-by: Paul Olav Tvete --- src/xml/doc/src/xml-processing.qdoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/xml/doc') diff --git a/src/xml/doc/src/xml-processing.qdoc b/src/xml/doc/src/xml-processing.qdoc index d6b7ca24c4..1b6882691c 100644 --- a/src/xml/doc/src/xml-processing.qdoc +++ b/src/xml/doc/src/xml-processing.qdoc @@ -238,10 +238,10 @@ The constructor takes \a treeWidget as a parameter and the class has Xbel specific functions: - \snippet xml/streambookmarks/xbelreader.h 1 + \snippet streambookmarks/xbelreader.h 1 \dots - \snippet xml/streambookmarks/xbelreader.h 2 + \snippet streambookmarks/xbelreader.h 2 \dots The \c read() function accepts a QIODevice and sets it with @@ -250,7 +250,7 @@ display a custom error message, inidicating that the file's version is incorrect. - \snippet xml/streambookmarks/xbelreader.cpp 1 + \snippet streambookmarks/xbelreader.cpp 1 The pendent to QXmlStreamReader is QXmlStreamWriter, which provides an XML writer with a simple streaming API. QXmlStreamWriter operates on a @@ -283,7 +283,7 @@ of QXmlStreamWriter. Its \c writeFile() function illustrates the core functions of QXmlStreamWriter mentioned above: - \snippet xml/streambookmarks/xbelwriter.cpp 1 + \snippet streambookmarks/xbelwriter.cpp 1 */ /*! -- cgit v1.2.3