QXmpp Version: 1.4.0
Loading...
Searching...
No Matches
QXmppMixInvitation.h
1/*
2 * Copyright (C) 2008-2021 The QXmpp developers
3 *
4 * Author:
5 * Melvin Keskin
6 *
7 * Source:
8 * https://github.com/qxmpp-project/qxmpp
9 *
10 * This file is a part of QXmpp library.
11 *
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
21 *
22 */
23
24#ifndef QXMPPMIXINVITATION_H
25#define QXMPPMIXINVITATION_H
26
27#include "QXmppElement.h"
28
29#include <QSharedDataPointer>
30
31class QXmppMixInvitationPrivate;
32
42class QXMPP_EXPORT QXmppMixInvitation
43{
44public:
48
50
51 QString inviterJid() const;
52 void setInviterJid(const QString &inviterJid);
53
54 QString inviteeJid() const;
55 void setInviteeJid(const QString &inviteeJid);
56
57 QString channelJid() const;
58 void setChannelJid(const QString &channelJid);
59
60 QString token() const;
61 void setToken(const QString &token);
62
64 void parse(const QDomElement &element);
65 void toXml(QXmlStreamWriter *writer) const;
67
68 static bool isMixInvitation(const QDomElement &element);
69
70private:
71 QSharedDataPointer<QXmppMixInvitationPrivate> d;
72};
73
74#endif // QXMPPMIXINVITATION_H
The QXmppMixInvitation class is used to invite a user to a XEP-0369: Mediated Information eXchange (M...
Definition QXmppMixInvitation.h:43
QXmppMixInvitation(const QXmppMixInvitation &other)
QXmppMixInvitation & operator=(const QXmppMixInvitation &other)