QXmpp::Muc Namespace
namespace QXmpp::MucContains types for XEP-0045: Multi-User Chat used by the V2 API. More...
| Header: | #include <QXmppMucData.h> |
| Since: | QXmpp 1.16 |
Classes
(since QXmpp 1.16) struct | Avatar |
(since QXmpp 1.16) class | Decline |
(since QXmpp 1.16) class | Destroy |
(since QXmpp 1.16) class | DirectInvitation |
(since QXmpp 1.16) class | HistoryOptions |
(since QXmpp 1.16) class | Invite |
(since QXmpp 1.16) class | Item |
(since QXmpp 1.16) class | UserQuery |
Types
(since QXmpp 1.16) enum class | LeaveReason { Left, Kicked, Banned, AffiliationChanged, MembersOnly, …, ConnectionLost } |
Detailed Description
Classes
class Avatar
Room avatar data containing a MIME content type and raw image bytes. More...
class Decline
A mediated XEP-0045: Multi-User Chat invitation decline (§7.8.2). More...
class Destroy
Information about a destroyed XEP-0045: Multi-User Chat room (§10.9). More...
class DirectInvitation
A direct XEP-0045: Multi-User Chat invitation as defined by XEP-0249: Direct MUC Invitations. More...
class HistoryOptions
History options for joining a XEP-0045: Multi-User Chat room (§7.2.13). More...
class Invite
A mediated XEP-0045: Multi-User Chat invitation (§7.8.2). More...
class Item
A XEP-0045: Multi-User Chat room item carrying role and/or affiliation data. More...
class UserQuery
The x element with namespace muc#user as defined by XEP-0045: Multi-User Chat. More...
Type Documentation
[since QXmpp 1.16] enum class Muc::LeaveReason
Reason why a participant left a XEP-0045: Multi-User Chat room.
| Constant | Value | Description |
|---|---|---|
QXmpp::Muc::LeaveReason::Left | 0 | The participant left the room voluntarily. |
QXmpp::Muc::LeaveReason::Kicked | 1 | The participant was kicked by a moderator (§8.2, status 307). |
QXmpp::Muc::LeaveReason::Banned | 2 | The participant was banned from the room (§8.4, status 301). |
QXmpp::Muc::LeaveReason::AffiliationChanged | 3 | The participant was removed because their affiliation changed (status 321). |
QXmpp::Muc::LeaveReason::MembersOnly | 4 | The participant was removed because the room became members-only (status 322). |
QXmpp::Muc::LeaveReason::RoomDestroyed | 5 | The room was destroyed by its owner (§10.9). |
QXmpp::Muc::LeaveReason::ServiceShutdown | 6 | The participant was removed because the MUC service is being shut down (status 332). |
QXmpp::Muc::LeaveReason::Error | 7 | The participant was removed because of an error (status 333). |
QXmpp::Muc::LeaveReason::ConnectionLost | 8 | The client detected via XEP-0410: MUC Self-Ping that it had been silently removed. |
This enum was introduced in QXmpp 1.16.