QXmpp::Muc::Destroy Class
class QXmpp::Muc::DestroyInformation about a destroyed XEP-0045: Multi-User Chat room (§10.9). More...
| Header: | #include <QXmppMucData.h> |
| Since: | QXmpp 1.16 |
Public Functions
| QString | alternateRoom() const |
| QString | reason() const |
| void | setAlternateRoom(const QString &alternateRoom) |
| void | setReason(const QString &reason) |
Detailed Description
When a room owner destroys a room, the server sends an unavailable presence containing a <destroy/> element. This may include an alternate room JID and a human-readable reason.
Member Function Documentation
QString Destroy::alternateRoom() const
Returns the JID of an alternate room, or an empty string if none was provided.
See also setAlternateRoom().
QString Destroy::reason() const
Returns the human-readable reason for the room destruction.
See also setReason().
void Destroy::setAlternateRoom(const QString &alternateRoom)
Sets the JID of an alternateRoom.
See also alternateRoom().
void Destroy::setReason(const QString &reason)
Sets the human-readable reason for the room destruction.
See also reason().