aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppIq.h
diff options
context:
space:
mode:
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