9#include "QXmppMixConfigItem.h"
10#include "QXmppMixInvitation.h"
12class QXMPP_EXPORT QXmppMixSubscriptionUpdateIq :
public QXmppIq
15 QXmppMixSubscriptionUpdateIq();
17 QXMPP_PRIVATE_DECLARE_RULE_OF_SIX(QXmppMixSubscriptionUpdateIq)
19 QXmppMixConfigItem::Nodes additions()
const;
20 void setAdditions(QXmppMixConfigItem::Nodes);
22 QXmppMixConfigItem::Nodes removals()
const;
23 void setRemovals(QXmppMixConfigItem::Nodes);
25 static bool isMixSubscriptionUpdateIq(
const QDomElement &);
28 void parseElementFromChild(
const QDomElement &)
override;
29 void toXmlElementFromChild(QXmlStreamWriter *)
const override;
32 QXmppMixConfigItem::Nodes m_additions;
33 QXmppMixConfigItem::Nodes m_removals;
36class QXMPP_EXPORT QXmppMixInvitationRequestIq :
public QXmppIq
39 QXmppMixInvitationRequestIq();
41 QXMPP_PRIVATE_DECLARE_RULE_OF_SIX(QXmppMixInvitationRequestIq)
43 QString inviteeJid()
const;
44 void setInviteeJid(
const QString &);
46 static bool isMixInvitationRequestIq(
const QDomElement &);
49 void parseElementFromChild(
const QDomElement &)
override;
50 void toXmlElementFromChild(QXmlStreamWriter *)
const override;
56class QXMPP_EXPORT QXmppMixInvitationResponseIq :
public QXmppIq
59 QXmppMixInvitationResponseIq();
61 QXMPP_PRIVATE_DECLARE_RULE_OF_SIX(QXmppMixInvitationResponseIq)
63 QXmppMixInvitation invitation()
const;
64 void setInvitation(
const QXmppMixInvitation &);
66 static bool isMixInvitationResponseIq(
const QDomElement &);
69 void parseElementFromChild(
const QDomElement &)
override;
70 void toXmlElementFromChild(QXmlStreamWriter *)
const override;
73 QXmppMixInvitation m_invitation;
76namespace QXmpp::Private {
78QXMPP_EXPORT QVector<QString> mixNodesToList(QXmppMixConfigItem::Nodes nodes);
79QXMPP_EXPORT QXmppMixConfigItem::Nodes listToMixNodes(
const QVector<QString> &nodeList);
The QXmppIq class is the base class for all IQs.
Definition: QXmppIq.h:23