aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppRosterIq.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-07-08 13:08:33 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-07-08 13:08:33 +0000
commit8a07e9025a1865bcdcaa652665dbc97deac1ec16 (patch)
tree81b526b69b6d13ef6ae73e1c9bba2b979bd7c07f /source/QXmppRosterIq.h
parentf24306761d73480962ce4604607f4abf19806742 (diff)
downloadqxmpp-8a07e9025a1865bcdcaa652665dbc97deac1ec16.tar.gz
use parseElementFromChild in all IQ classes
Diffstat (limited to 'source/QXmppRosterIq.h')
-rw-r--r--source/QXmppRosterIq.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/QXmppRosterIq.h b/source/QXmppRosterIq.h
index 75cb8b1a..f81ce7c5 100644
--- a/source/QXmppRosterIq.h
+++ b/source/QXmppRosterIq.h
@@ -91,12 +91,14 @@ public:
QList<Item> items() const;
static bool isRosterIq(const QDomElement &element);
- void parse(const QDomElement &element);
- void toXmlElementFromChild(QXmlStreamWriter *writer) const;
// deprecated accessors, use the form without "get" instead
QList<Item> Q_DECL_DEPRECATED getItems() const;
+protected:
+ void parseElementFromChild(const QDomElement &element);
+ void toXmlElementFromChild(QXmlStreamWriter *writer) const;
+
private:
QList<Item> m_items;
};