QXmpp::Muc::Invite Class
class QXmpp::Muc::InviteA mediated XEP-0045: Multi-User Chat invitation (§7.8.2). More...
| Header: | #include <QXmppMucData.h> |
| Since: | QXmpp 1.16 |
Public Functions
| QString | from() const |
| QString | reason() const |
| void | setFrom(const QString &jid) |
| void | setReason(const QString &reason) |
| void | setTo(const QString &jid) |
| QString | to() const |
Detailed Description
When sending an invitation, set to to the invitee's JID. When receiving a forwarded invitation from the room, from holds the inviter's JID.
Member Function Documentation
QString Invite::from() const
Returns the inviter's JID (set by the room when forwarding to the invitee).
See also setFrom().
QString Invite::reason() const
Returns the optional human-readable reason.
See also setReason().
void Invite::setFrom(const QString &jid)
Sets the from jid.
See also from().
void Invite::setReason(const QString &reason)
Sets the optional human-readable reason.
See also reason().
void Invite::setTo(const QString &jid)
Sets the invitee's jid.
See also to().
QString Invite::to() const
Returns the invitee's JID this invitation is addressed to (set when sending).
See also setTo().