QXmppMixInvitation Class

The QXmppMixInvitation class is used to invite a user to a XEP-0369: Mediated Information eXchange (MIX) channel as defined by XEP-0407: Mediated Information eXchange (MIX): Miscellaneous Capabilities. More...

Header: #include <QXmppMixInvitation>
Since: QXmpp 1.4

Public Functions

QXmppMixInvitation()
QXmppMixInvitation(const QXmppMixInvitation &other)
QXmppMixInvitation(QXmppMixInvitation &&)
QString channelJid() const
QString inviteeJid() const
QString inviterJid() const
void setChannelJid(const QString &channelJid)
void setInviteeJid(const QString &inviteeJid)
void setInviterJid(const QString &inviterJid)
void setToken(const QString &token)
QString token() const
QXmppMixInvitation &operator=(QXmppMixInvitation &&)
QXmppMixInvitation &operator=(const QXmppMixInvitation &other)

Static Public Members

bool isMixInvitation(const QDomElement &element)

Detailed Description

Member Function Documentation

QXmppMixInvitation::QXmppMixInvitation()

Default constructor

QXmppMixInvitation::QXmppMixInvitation(const QXmppMixInvitation &other)

Copy constructor.

QXmppMixInvitation::QXmppMixInvitation(QXmppMixInvitation &&)

Copy constructor.

QString QXmppMixInvitation::channelJid() const

Returns the JID of the channel.

See also setChannelJid().

QString QXmppMixInvitation::inviteeJid() const

Returns the JID of the invitee.

See also setInviteeJid().

QString QXmppMixInvitation::inviterJid() const

Returns the JID of the inviter.

See also setInviterJid().

[static] bool QXmppMixInvitation::isMixInvitation(const QDomElement &element)

Determines whether the given DOM element is a MIX invitation.

Returns true if element is a MIX invitation, otherwise false.

void QXmppMixInvitation::setChannelJid(const QString &channelJid)

Sets the channelJid of the channel.

See also channelJid().

void QXmppMixInvitation::setInviteeJid(const QString &inviteeJid)

Sets the inviteeJid of the invitee.

See also inviteeJid().

void QXmppMixInvitation::setInviterJid(const QString &inviterJid)

Sets the inviterJid of the inviter.

See also inviterJid().

void QXmppMixInvitation::setToken(const QString &token)

Sets the authentication token which is generated by the server and used by the invitee for authentication.

See also token().

QString QXmppMixInvitation::token() const

Returns the token which is generated by the server and used by the invitee for authentication.

See also setToken().

QXmppMixInvitation &QXmppMixInvitation::operator=(QXmppMixInvitation &&)

Default assignment operator.

QXmppMixInvitation &QXmppMixInvitation::operator=(const QXmppMixInvitation &other)

Default assignment operator.