From bb95ebd0e305071ccea30e356844042402bcd76b Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 4 Mar 2010 08:43:53 +0000 Subject: regroup common stanza parsing inside QXmppStanza::parse() --- source/QXmppByteStreamIq.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/QXmppByteStreamIq.h') diff --git a/source/QXmppByteStreamIq.h b/source/QXmppByteStreamIq.h index 9f3390e0..b9ee67da 100644 --- a/source/QXmppByteStreamIq.h +++ b/source/QXmppByteStreamIq.h @@ -77,9 +77,9 @@ public: QString streamHostUsed() const; void setStreamHostUsed(const QString &jid); - void parse(QDomElement &element); + static bool isByteStreamIq(const QDomElement &element); + void parse(const QDomElement &element); void toXmlElementFromChild(QXmlStreamWriter *writer) const; - static bool isByteStreamIq(QDomElement &element); private: Mode m_mode; -- cgit v1.2.3