QXmpp::Muc::Decline Class
class QXmpp::Muc::DeclineA mediated XEP-0045: Multi-User Chat invitation decline (§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 a decline, set to to the original inviter's JID. When receiving a forwarded decline from the room, from holds the invitee's JID.
Member Function Documentation
QString Decline::from() const
Returns the JID of the invitee who declined (set by the room when forwarding).
See also setFrom().
QString Decline::reason() const
Returns the optional human-readable reason.
See also setReason().
void Decline::setFrom(const QString &jid)
Sets the from jid.
See also from().
void Decline::setReason(const QString &reason)
Sets the optional human-readable reason.
See also reason().
void Decline::setTo(const QString &jid)
Sets the jid to send the decline to.
See also to().
QString Decline::to() const
Returns the JID of the inviter this decline is addressed to (set when sending).
See also setTo().