From 8a07e9025a1865bcdcaa652665dbc97deac1ec16 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 8 Jul 2010 13:08:33 +0000 Subject: use parseElementFromChild in all IQ classes --- source/QXmppByteStreamIq.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source/QXmppByteStreamIq.cpp') diff --git a/source/QXmppByteStreamIq.cpp b/source/QXmppByteStreamIq.cpp index 03af6130..28932c66 100644 --- a/source/QXmppByteStreamIq.cpp +++ b/source/QXmppByteStreamIq.cpp @@ -122,12 +122,8 @@ bool QXmppByteStreamIq::isByteStreamIq(const QDomElement &element) return element.firstChildElement("query").namespaceURI() == ns_bytestreams; } -void QXmppByteStreamIq::parse(const QDomElement &element) +void QXmppByteStreamIq::parseElementFromChild(const QDomElement &element) { - QXmppStanza::parse(element); - - setTypeFromStr(element.attribute("type")); - QDomElement queryElement = element.firstChildElement("query"); m_sid = queryElement.attribute("sid"); const QString modeStr = queryElement.attribute("mode"); -- cgit v1.2.3