diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-08 13:08:33 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-08 13:08:33 +0000 |
| commit | 8a07e9025a1865bcdcaa652665dbc97deac1ec16 (patch) | |
| tree | 81b526b69b6d13ef6ae73e1c9bba2b979bd7c07f /source/QXmppVersionIq.cpp | |
| parent | f24306761d73480962ce4604607f4abf19806742 (diff) | |
| download | qxmpp-8a07e9025a1865bcdcaa652665dbc97deac1ec16.tar.gz | |
use parseElementFromChild in all IQ classes
Diffstat (limited to 'source/QXmppVersionIq.cpp')
| -rw-r--r-- | source/QXmppVersionIq.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/QXmppVersionIq.cpp b/source/QXmppVersionIq.cpp index 4c000fd1..16d9a957 100644 --- a/source/QXmppVersionIq.cpp +++ b/source/QXmppVersionIq.cpp @@ -63,11 +63,8 @@ bool QXmppVersionIq::isVersionIq(const QDomElement &element) return queryElement.namespaceURI() == ns_version; } -void QXmppVersionIq::parse(const QDomElement &element) +void QXmppVersionIq::parseElementFromChild(const QDomElement &element) { - QXmppStanza::parse(element); - setTypeFromStr(element.attribute("type")); - QDomElement queryElement = element.firstChildElement("query"); m_name = element.firstChildElement("name").text(); m_os = element.firstChildElement("os").text(); |
