7#ifndef QXMPPPUSHENABLEIQ_H
8#define QXMPPPUSHENABLEIQ_H
12class QXmppPushEnableIqPrivate;
23class QXMPP_EXPORT QXmppPushEnableIq :
public QXmppIq
29 ~QXmppPushEnableIq()
override;
30 QXmppPushEnableIq &
operator=(
const QXmppPushEnableIq &);
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;
QXmppIq(QXmppIq::Type type=QXmppIq::Get)
Definition QXmppIq.cpp:34
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.