8#include "QXmppStanza.h"
14#include <QXmlStreamWriter>
47 void parse(
const QDomElement &element)
override;
48 void toXml(QXmlStreamWriter *writer)
const override;
50 virtual void parseElementFromChild(
const QDomElement &element);
51 virtual void toXmlElementFromChild(QXmlStreamWriter *writer)
const;
55 QSharedDataPointer<QXmppIqPrivate> d;
The QXmppIq class is the base class for all IQs.
Definition QXmppIq.h:23
QXmppIq(QXmppIq &&)
Default move-constructor.
QXmppIq(const QXmppIq &other)
Constructs a copy of other.
Type
This enum describes the type of IQ.
Definition QXmppIq.h:26
@ Set
Set request.
Definition QXmppIq.h:29
@ Get
Get request.
Definition QXmppIq.h:28
QXmppIq & operator=(const QXmppIq &other)
Assigns other to this IQ.
QXmppIq & operator=(QXmppIq &&)
Move-assignment operator.
virtual void parse(const QDomElement &)=0
virtual bool isXmppStanza() const
Definition QXmppNonza.h:19
virtual void toXml(QXmlStreamWriter *writer) const =0
The Error class represents a stanza error.
Definition QXmppStanza.h:94
The QXmppStanza class is the base class for all XMPP stanzas.
Definition QXmppStanza.h:88