diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-08-19 09:23:25 (GMT) |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-08-19 09:23:25 (GMT) |
commit | 03f6459939d7ef0b0d6dedb688880fa36b7d7ad8 (patch) | |
tree | 49075424ccc371b976696b38ea326b0165abf724 /examples/xml/streambookmarks | |
parent | 20d2b7312456435e5e1a98dba7c2cc96b44fe83c (diff) | |
download | Qt-03f6459939d7ef0b0d6dedb688880fa36b7d7ad8.zip Qt-03f6459939d7ef0b0d6dedb688880fa36b7d7ad8.tar.gz Qt-03f6459939d7ef0b0d6dedb688880fa36b7d7ad8.tar.bz2 |
Revert re-adding of readUnknownElement
Now that it is really no longer used.
QXmlStreamReader::skipCurrentElement replaces it.
Diffstat (limited to 'examples/xml/streambookmarks')
-rw-r--r-- | examples/xml/streambookmarks/xbelreader.cpp | 9 | ||||
-rw-r--r-- | examples/xml/streambookmarks/xbelreader.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/examples/xml/streambookmarks/xbelreader.cpp b/examples/xml/streambookmarks/xbelreader.cpp index 2682d91..99a7f34 100644 --- a/examples/xml/streambookmarks/xbelreader.cpp +++ b/examples/xml/streambookmarks/xbelreader.cpp @@ -73,15 +73,6 @@ bool XbelReader::read(QIODevice *device) } //! [1] -//! [2] -void XbelReader::readUnknownElement() -{ - while (readNextStartElement()) { - readUnknownElement(); - } -} -//! [2] - //! [3] void XbelReader::readXBEL() { diff --git a/examples/xml/streambookmarks/xbelreader.h b/examples/xml/streambookmarks/xbelreader.h index 80f0a28..2debadc 100644 --- a/examples/xml/streambookmarks/xbelreader.h +++ b/examples/xml/streambookmarks/xbelreader.h @@ -62,7 +62,6 @@ public: private: //! [2] - void readUnknownElement(); void readXBEL(); void readTitle(QTreeWidgetItem *item); void readSeparator(QTreeWidgetItem *item); |