QXmpp::Muc Namespace

namespace QXmpp::Muc

Contains 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.

ConstantValueDescription
QXmpp::Muc::LeaveReason::Left0The participant left the room voluntarily.
QXmpp::Muc::LeaveReason::Kicked1The participant was kicked by a moderator (§8.2, status 307).
QXmpp::Muc::LeaveReason::Banned2The participant was banned from the room (§8.4, status 301).
QXmpp::Muc::LeaveReason::AffiliationChanged3The participant was removed because their affiliation changed (status 321).
QXmpp::Muc::LeaveReason::MembersOnly4The participant was removed because the room became members-only (status 322).
QXmpp::Muc::LeaveReason::RoomDestroyed5The room was destroyed by its owner (§10.9).
QXmpp::Muc::LeaveReason::ServiceShutdown6The participant was removed because the MUC service is being shut down (status 332).
QXmpp::Muc::LeaveReason::Error7The participant was removed because of an error (status 333).
QXmpp::Muc::LeaveReason::ConnectionLost8The client detected via XEP-0410: MUC Self-Ping that it had been silently removed.

This enum was introduced in QXmpp 1.16.