7#ifndef QXMPPPUSHENABLEIQ_H
8#define QXMPPPUSHENABLEIQ_H
12class QXmppPushEnableIqPrivate;
43 void setJid(
const QString &jid);
46 void setNode(
const QString &node);
48 void setMode(Mode mode);
54 static bool isPushEnableIq(
const QDomElement &element);
58 void parseElementFromChild(
const QDomElement &element)
override;
59 void toXmlElementFromChild(QXmlStreamWriter *writer)
const override;
63 QSharedDataPointer<QXmppPushEnableIqPrivate> d;
The QXmppIq class is the base class for all IQs.
Definition QXmppIq.h:23
This class represents an IQ to enable or disablepush notifications on the user server.
Definition QXmppPushEnableIq.h:24
QXmppPushEnableIq(const QXmppPushEnableIq &)
Default copy-constructor.
QXmppPushEnableIq & operator=(const QXmppPushEnableIq &)
Default assignment operator.
QXmppPushEnableIq(QXmppPushEnableIq &&)
Default move-constructor.
Mode
The Mode enum describes whether the IQ should enable or disable push notifications.
Definition QXmppPushEnableIq.h:37
QXmppPushEnableIq & operator=(QXmppPushEnableIq &&)
Default move-assignment operator.