10#include "QXmppMixConfigItem.h"
12#include <QSharedDataPointer>
14class QXmppMixInvitation;
15class QXmppMixIqPrivate;
26#if QXMPP_DEPRECATED_SINCE(1, 7)
27 UpdateSubscription [[deprecated(
"Use QXmppMixManager")]],
45#if QXMPP_DEPRECATED_SINCE(1, 7)
46 [[deprecated(
"Use participantId() and channelJid()")]] QString jid()
const;
47 [[deprecated(
"Use setParticipantId() and setChannelJid()")]]
void setJid(
const QString &);
50 QString participantId()
const;
51 void setParticipantId(
const QString &);
53#if QXMPP_DEPRECATED_SINCE(1, 7)
54 [[deprecated(
"Use channelId()")]] QString channelName()
const;
55 [[deprecated(
"Use setChannelId()")]]
void setChannelName(
const QString &);
58 QString channelId()
const;
59 void setChannelId(
const QString &);
61 QString channelJid()
const;
62 void setChannelJid(
const QString &);
64#if QXMPP_DEPRECATED_SINCE(1, 7)
65 [[deprecated(
"Use subscriptions()")]] QStringList nodes()
const;
66 [[deprecated(
"Use setSubscriptions()")]]
void setNodes(
const QStringList &);
69 QXmppMixConfigItem::Nodes subscriptions()
const;
70 void setSubscriptions(QXmppMixConfigItem::Nodes);
73 void setNick(
const QString &);
75 std::optional<QXmppMixInvitation> invitation()
const;
76 void setInvitation(
const std::optional<QXmppMixInvitation> &);
79 static bool isMixIq(
const QDomElement &);
84 void parseElementFromChild(
const QDomElement &)
override;
85 void toXmlElementFromChild(QXmlStreamWriter *)
const override;
89 QSharedDataPointer<QXmppMixIqPrivate> d;
The QXmppIq class is the base class for all IQs.
Definition: QXmppIq.h:23
Type
This enum describes the type of IQ.
Definition: QXmppIq.h:26
Definition: QXmppMixIq.h:18
Type
Definition: QXmppMixIq.h:20
@ Leave
Definition: QXmppMixIq.h:25
@ Join
Definition: QXmppMixIq.h:24
@ Create
Definition: QXmppMixIq.h:30
@ None
Definition: QXmppMixIq.h:21
@ ClientJoin
Definition: QXmppMixIq.h:22
@ ClientLeave
Definition: QXmppMixIq.h:23
QXmppMixIq & operator=(QXmppMixIq &&)
Default move-assignment operator.
QXmppMixIq(QXmppMixIq &&)
Default move-constructor.
QXmppMixIq & operator=(const QXmppMixIq &)
Default assignment operator.
QXmppMixIq(const QXmppMixIq &)
Default copy-constructor.