aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppMucIq.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-07-08 13:24:17 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-07-08 13:24:17 +0000
commitad6dbbdf512d664a64dd67db81341d6beb16a117 (patch)
treee029ed8abf4abb82588a7c70c4083c03b2c1bf20 /source/QXmppMucIq.cpp
parent41c8502e6a751afc22122a8854af15a67bebbc50 (diff)
downloadqxmpp-ad6dbbdf512d664a64dd67db81341d6beb16a117.tar.gz
update MUC iqs for new QXmppIq API
Diffstat (limited to 'source/QXmppMucIq.cpp')
-rw-r--r--source/QXmppMucIq.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/source/QXmppMucIq.cpp b/source/QXmppMucIq.cpp
index 54f62820..7902d8e6 100644
--- a/source/QXmppMucIq.cpp
+++ b/source/QXmppMucIq.cpp
@@ -93,11 +93,8 @@ bool QXmppMucAdminIq::isMucAdminIq(const QDomElement &element)
return (queryElement.namespaceURI() == ns_muc_admin);
}
-void QXmppMucAdminIq::parse(const QDomElement &element)
+void QXmppMucAdminIq::parseElementFromChild(const QDomElement &element)
{
- QXmppStanza::parse(element);
- setTypeFromStr(element.attribute("type"));
-
QDomElement queryElement = element.firstChildElement("query");
QDomElement child = queryElement.firstChildElement("item");
while (!child.isNull())
@@ -146,11 +143,8 @@ bool QXmppMucOwnerIq::isMucOwnerIq(const QDomElement &element)
return (queryElement.namespaceURI() == ns_muc_owner);
}
-void QXmppMucOwnerIq::parse(const QDomElement &element)
+void QXmppMucOwnerIq::parseElementFromChild(const QDomElement &element)
{
- QXmppStanza::parse(element);
- setTypeFromStr(element.attribute("type"));
-
QDomElement queryElement = element.firstChildElement("query");
m_form.parse(queryElement.firstChildElement("x"));
}