QXmpp Version: 1.5.6
Loading...
Searching...
No Matches
QXmppMixInvitation.h
1// SPDX-FileCopyrightText: 2021 Melvin Keskin <melvo@olomono.de>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPMIXINVITATION_H
6#define QXMPPMIXINVITATION_H
7
8#include "QXmppElement.h"
9
10#include <QSharedDataPointer>
11
12class QXmppMixInvitationPrivate;
13
23class QXMPP_EXPORT QXmppMixInvitation
24{
25public:
30
33
34 QString inviterJid() const;
35 void setInviterJid(const QString &inviterJid);
36
37 QString inviteeJid() const;
38 void setInviteeJid(const QString &inviteeJid);
39
40 QString channelJid() const;
41 void setChannelJid(const QString &channelJid);
42
43 QString token() const;
44 void setToken(const QString &token);
45
47 void parse(const QDomElement &element);
48 void toXml(QXmlStreamWriter *writer) const;
50
51 static bool isMixInvitation(const QDomElement &element);
52
53private:
54 QSharedDataPointer<QXmppMixInvitationPrivate> d;
55};
56
57#endif // QXMPPMIXINVITATION_H
The QXmppMixInvitation class is used to invite a user to a XEP-0369: Mediated Information eXchange (M...
Definition QXmppMixInvitation.h:24
QXmppMixInvitation(const QXmppMixInvitation &other)
Copy constructor.
QXmppMixInvitation & operator=(QXmppMixInvitation &&)
Default assignment operator.
QXmppMixInvitation & operator=(const QXmppMixInvitation &other)
Default assignment operator.
QXmppMixInvitation(QXmppMixInvitation &&)
Copy constructor.