Docs: fix code snippet paths in xml-processing.qdoc
authorKevin Krammer <kevin.krammer@kdab.com>
Fri, 30 Nov 2012 16:24:03 +0000 (17:24 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 30 Nov 2012 17:43:28 +0000 (18:43 +0100)
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 <paul.tvete@digia.com>
src/xml/doc/src/xml-processing.qdoc

index d6b7ca2..1b68826 100644 (file)
     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
     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
     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
 */
 
 /*!