summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-07-24 11:49:30 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-07-24 11:50:30 (GMT)
commit11fb6f876b94869921fa9b560ce8a3f6ae38e1f5 (patch)
tree5da4ccb854fe5528b8ad0d32b2b57e71b247ab14 /src/xml
parented2a03b3bc85be056eca87928d18a746faa07bca (diff)
downloadQt-11fb6f876b94869921fa9b560ce8a3f6ae38e1f5.zip
Qt-11fb6f876b94869921fa9b560ce8a3f6ae38e1f5.tar.gz
Qt-11fb6f876b94869921fa9b560ce8a3f6ae38e1f5.tar.bz2
qdoc: Fixed all references to obsolete QHttp classes.
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/sax/qxml.cpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp
index 6be6988..fe1e740 100644
--- a/src/xml/sax/qxml.cpp
+++ b/src/xml/sax/qxml.cpp
@@ -3012,19 +3012,13 @@ void QXmlSimpleReaderPrivate::initIncrementalParsing()
parse() to work incrementally, and making subsequent calls to the
parseContinue() function, until all the data has been processed.
- A common way to perform incremental parsing is to connect the
- \c readyRead() signal of the input source to a slot, and handle the
- incoming data there. For example, the following code shows how a
- parser for \l{http://web.resource.org/rss/1.0/}{RSS feeds} can be
- used to incrementally parse data that it receives from a QHttp
- object:
-
- \snippet doc/src/snippets/xml/rsslisting/rsslisting.cpp 1
-
+ A common way to perform incremental parsing is to connect the \c
+ readyRead() signal of a \l{QNetworkReply} {network reply} a slot,
+ and handle the incoming data there. See QNetworkAccessManager.
+
Aspects of the parsing behavior can be adapted using setFeature()
- and setProperty(). For example, the following code could be used
- to enable reporting of namespace prefixes to the content handler:
-
+ and setProperty().
+
QXmlSimpleReader is not reentrant. If you want to use the class
in threaded code, lock the code using QXmlSimpleReader with a
locking mechanism, such as a QMutex.