aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppIq.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-02-15 15:46:31 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-02-15 15:46:31 +0000
commitd18646274885a4dcc376094e372f24b6922155b8 (patch)
tree4524f76ba84d3d37f99dbf613de319a246a8c047 /source/QXmppIq.h
parentc8a91ae73da178bdb9fdb235b7f09e9d49724caa (diff)
downloadqxmpp-d18646274885a4dcc376094e372f24b6922155b8.tar.gz
rework generic Iq items access
Diffstat (limited to 'source/QXmppIq.h')
-rw-r--r--source/QXmppIq.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/source/QXmppIq.h b/source/QXmppIq.h
index 8a1ba099..4b7f6b6b 100644
--- a/source/QXmppIq.h
+++ b/source/QXmppIq.h
@@ -53,19 +53,15 @@ public:
void setType(QXmppIq::Type);
void setTypeFromStr(const QString& str);
- QList<QXmppElement> getQueryItems() const;
- void setQueryItems(const QList<QXmppElement> &items);
-
- QString getQueryNamespace() const;
- void setQueryNamespace(const QString &ns);
+ QList<QXmppElement> getItems() const;
+ void setItems(const QList<QXmppElement> &items);
void toXml( QXmlStreamWriter *writer ) const;
virtual void toXmlElementFromChild( QXmlStreamWriter *writer ) const;
private:
Type m_type;
- QList<QXmppElement> m_queryItems;
- QString m_queryNamespace;
+ QList<QXmppElement> m_items;
};
#endif // QXMPPIQ_H