From 8a07e9025a1865bcdcaa652665dbc97deac1ec16 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 8 Jul 2010 13:08:33 +0000 Subject: use parseElementFromChild in all IQ classes --- source/QXmppBind.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/QXmppBind.h') diff --git a/source/QXmppBind.h b/source/QXmppBind.h index ad938d9b..30f2fdb3 100644 --- a/source/QXmppBind.h +++ b/source/QXmppBind.h @@ -40,7 +40,6 @@ public: void setResource(const QString&); static bool isBind(const QDomElement &element); - void parse(const QDomElement &element); // deprecated accessors, use the form without "get" instead // obsolete start @@ -48,10 +47,13 @@ public: QString Q_DECL_DEPRECATED getResource() const; // obsolete end +protected: + void parseElementFromChild(const QDomElement &element); + void toXmlElementFromChild(QXmlStreamWriter *writer) const; + private: QString m_jid; QString m_resource; - void toXmlElementFromChild(QXmlStreamWriter *writer) const; }; #endif // QXMPPBIND_H -- cgit v1.2.3