aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppDiscoveryIq.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-03-04 08:43:53 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-03-04 08:43:53 +0000
commitbb95ebd0e305071ccea30e356844042402bcd76b (patch)
tree8290d542d1c53c81828a3f8a5d45cf387a4c72d7 /source/QXmppDiscoveryIq.h
parentf3c8579fd664461f529d2fe4713093596ba9ff97 (diff)
downloadqxmpp-bb95ebd0e305071ccea30e356844042402bcd76b.tar.gz
regroup common stanza parsing inside QXmppStanza::parse()
Diffstat (limited to 'source/QXmppDiscoveryIq.h')
-rw-r--r--source/QXmppDiscoveryIq.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/QXmppDiscoveryIq.h b/source/QXmppDiscoveryIq.h
index fb8d5a39..76eabca1 100644
--- a/source/QXmppDiscoveryIq.h
+++ b/source/QXmppDiscoveryIq.h
@@ -37,16 +37,16 @@ public:
ItemsQuery,
};
- void toXmlElementFromChild(QXmlStreamWriter *writer) const;
- void parse( QDomElement &element );
- static bool isDiscoveryIq( QDomElement &element );
-
QXmppElementList queryItems() const;
void setQueryItems(const QXmppElementList &items);
enum QueryType queryType() const;
void setQueryType(enum QueryType type);
+ static bool isDiscoveryIq(const QDomElement &element);
+ void parse(const QDomElement &element);
+ void toXmlElementFromChild(QXmlStreamWriter *writer) const;
+
private:
QXmppElementList m_queryItems;
enum QueryType m_queryType;