aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppIq.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-02-18 12:38:47 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-02-18 12:38:47 +0000
commit1c594fa50ba7c3fc53fe0ab5a8175a6737e0f8a7 (patch)
tree1a70b57c23da8e2b9ae4acfc839c7be2dfa2b60b /source/QXmppIq.h
parent54576ab2d36c6736d3720fc4cfbcfc659c279e23 (diff)
downloadqxmpp-1c594fa50ba7c3fc53fe0ab5a8175a6737e0f8a7.tar.gz
use QXmppElementList and introduce QXmppIq::parse()
Diffstat (limited to 'source/QXmppIq.h')
-rw-r--r--source/QXmppIq.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/QXmppIq.h b/source/QXmppIq.h
index 4b7f6b6b..0205daea 100644
--- a/source/QXmppIq.h
+++ b/source/QXmppIq.h
@@ -53,15 +53,16 @@ public:
void setType(QXmppIq::Type);
void setTypeFromStr(const QString& str);
- QList<QXmppElement> getItems() const;
- void setItems(const QList<QXmppElement> &items);
+ QXmppElementList getItems() const;
+ void setItems(const QXmppElementList &items);
+ void parse( QDomElement &element );
void toXml( QXmlStreamWriter *writer ) const;
virtual void toXmlElementFromChild( QXmlStreamWriter *writer ) const;
private:
Type m_type;
- QList<QXmppElement> m_items;
+ QXmppElementList m_items;
};
#endif // QXMPPIQ_H