diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-08 13:08:33 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-08 13:08:33 +0000 |
| commit | 8a07e9025a1865bcdcaa652665dbc97deac1ec16 (patch) | |
| tree | 81b526b69b6d13ef6ae73e1c9bba2b979bd7c07f /source/QXmppIbbIq.h | |
| parent | f24306761d73480962ce4604607f4abf19806742 (diff) | |
| download | qxmpp-8a07e9025a1865bcdcaa652665dbc97deac1ec16.tar.gz | |
use parseElementFromChild in all IQ classes
Diffstat (limited to 'source/QXmppIbbIq.h')
| -rw-r--r-- | source/QXmppIbbIq.h | 12 |
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: |
