aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppByteStreamIq.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-07-08 13:08:33 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-07-08 13:08:33 +0000
commit8a07e9025a1865bcdcaa652665dbc97deac1ec16 (patch)
tree81b526b69b6d13ef6ae73e1c9bba2b979bd7c07f /source/QXmppByteStreamIq.cpp
parentf24306761d73480962ce4604607f4abf19806742 (diff)
downloadqxmpp-8a07e9025a1865bcdcaa652665dbc97deac1ec16.tar.gz
use parseElementFromChild in all IQ classes
Diffstat (limited to 'source/QXmppByteStreamIq.cpp')
-rw-r--r--source/QXmppByteStreamIq.cpp6
1 files changed, 1 insertions, 5 deletions
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");