aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppIq.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppIq.h')
-rw-r--r--source/QXmppIq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/QXmppIq.h b/source/QXmppIq.h
index d79b080a..54903d15 100644
--- a/source/QXmppIq.h
+++ b/source/QXmppIq.h
@@ -26,6 +26,7 @@
#define QXMPPIQ_H
#include "QXmppStanza.h"
+class QXmlStreamWriter;
class QXmppIq : public QXmppStanza
{
@@ -47,8 +48,8 @@ public:
void setType(QXmppIq::Type);
void setTypeFromStr(const QString& str);
- QByteArray toXml() const;
- virtual QByteArray toXmlElementFromChild() const;
+ void toXml( QXmlStreamWriter *writer ) const;
+ virtual void toXmlElementFromChild( QXmlStreamWriter *writer ) const;
private:
Type m_type;