aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppIbbIq.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/QXmppIbbIq.h
parentf24306761d73480962ce4604607f4abf19806742 (diff)
downloadqxmpp-8a07e9025a1865bcdcaa652665dbc97deac1ec16.tar.gz
use parseElementFromChild in all IQ classes
Diffstat (limited to 'source/QXmppIbbIq.h')
-rw-r--r--source/QXmppIbbIq.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/source/QXmppIbbIq.h b/source/QXmppIbbIq.h
index 33dc9e42..69945987 100644
--- a/source/QXmppIbbIq.h
+++ b/source/QXmppIbbIq.h
@@ -18,7 +18,9 @@ public:
void setSid( const QString &sid );
static bool isIbbOpenIq(const QDomElement &element);
- void parse(const QDomElement &element);
+
+protected:
+ void parseElementFromChild(const QDomElement &element);
void toXmlElementFromChild(QXmlStreamWriter *writer) const;
private:
@@ -35,7 +37,9 @@ public:
void setSid( const QString &sid );
static bool isIbbCloseIq(const QDomElement &element);
- void parse(const QDomElement &element);
+
+protected:
+ void parseElementFromChild(const QDomElement &element);
void toXmlElementFromChild(QXmlStreamWriter *writer) const;
private:
@@ -57,7 +61,9 @@ public:
void setPayload( const QByteArray &data );
static bool isIbbDataIq(const QDomElement &element);
- void parse(const QDomElement &element);
+
+protected:
+ void parseElementFromChild(const QDomElement &element);
void toXmlElementFromChild(QXmlStreamWriter *writer) const;
private: