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/QXmppBind.cpp | |
| parent | f24306761d73480962ce4604607f4abf19806742 (diff) | |
| download | qxmpp-8a07e9025a1865bcdcaa652665dbc97deac1ec16.tar.gz | |
use parseElementFromChild in all IQ classes
Diffstat (limited to 'source/QXmppBind.cpp')
| -rw-r--r-- | source/QXmppBind.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/QXmppBind.cpp b/source/QXmppBind.cpp index 38bb2131..43e08908 100644 --- a/source/QXmppBind.cpp +++ b/source/QXmppBind.cpp @@ -65,11 +65,8 @@ bool QXmppBind::isBind(const QDomElement &element) return (bindElement.namespaceURI() == ns_bind); } -void QXmppBind::parse(const QDomElement &element) +void QXmppBind::parseElementFromChild(const QDomElement &element) { - QXmppStanza::parse(element); - setTypeFromStr(element.attribute("type")); - QDomElement bindElement = element.firstChildElement("bind"); m_jid = bindElement.firstChildElement("jid").text(); m_resource = bindElement.firstChildElement("resource").text(); |
