diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-08-19 11:23:25 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-08-19 11:23:25 +0200 |
commit | 03f6459939d7ef0b0d6dedb688880fa36b7d7ad8 (patch) | |
tree | 49075424ccc371b976696b38ea326b0165abf724 | |
parent | 20d2b7312456435e5e1a98dba7c2cc96b44fe83c (diff) | |
download | qt4-tools-03f6459939d7ef0b0d6dedb688880fa36b7d7ad8.tar.gz |
Revert re-adding of readUnknownElement
Now that it is really no longer used.
QXmlStreamReader::skipCurrentElement replaces it.
-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 2682d9130a..99a7f348b4 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 80f0a28650..2debadce3d 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); |