5#ifndef QXMPPMIXINVITATION_H
6#define QXMPPMIXINVITATION_H
8#include "QXmppElement.h"
10#include <QSharedDataPointer>
12class QXmppMixInvitationPrivate;
14class QXMPP_EXPORT QXmppMixInvitation
18 QXmppMixInvitation(
const QXmppMixInvitation &other);
19 QXmppMixInvitation(QXmppMixInvitation &&);
20 ~QXmppMixInvitation();
22 QXmppMixInvitation &operator=(
const QXmppMixInvitation &other);
23 QXmppMixInvitation &operator=(QXmppMixInvitation &&);
25 QString inviterJid()
const;
26 void setInviterJid(
const QString &inviterJid);
28 QString inviteeJid()
const;
29 void setInviteeJid(
const QString &inviteeJid);
31 QString channelJid()
const;
32 void setChannelJid(
const QString &channelJid);
34 QString token()
const;
35 void setToken(
const QString &token);
38 void parse(
const QDomElement &element);
39 void toXml(QXmlStreamWriter *writer)
const;
42 static bool isMixInvitation(
const QDomElement &element);
45 QSharedDataPointer<QXmppMixInvitationPrivate> d;