QXmppMucParticipant Class
Lightweight handle to a participant in a XEP-0045: Multi-User Chat room. More...
| Header: | #include <QXmppMucParticipant> |
| Since: | QXmpp 1.16 |
Public Functions
| QBindable<QXmpp::Muc::Affiliation> | affiliation() const |
| QBindable<QString> | jid() const |
| QBindable<QString> | nickname() const |
| QString | occupantId() const |
| QBindable<QXmpp::Muc::Role> | role() const |
Detailed Description
Each participant handle owns a strong reference to its participant data, so it is safe to hold across participants coming and going.
Note: QXmppMucManagerV2 must remain alive while participant handles are in use — the handles own the data but the manager owns the signal infrastructure. Accessing a handle after the manager is destroyed is undefined behavior.
Warning: THIS API IS NOT FINALIZED YET and may still change in incompatible ways before it is released.
Member Function Documentation
QBindable<QXmpp::Muc::Affiliation> QXmppMucParticipant::affiliation() const
Returns the participant's affiliation with the room.
QBindable<QString> QXmppMucParticipant::jid() const
Returns the participant's real JID if known.
QBindable<QString> QXmppMucParticipant::nickname() const
Returns the participant's nickname in the room.
QString QXmppMucParticipant::occupantId() const
Returns the participant's XEP-0421: Occupant Id if the room supports it.
QBindable<QXmpp::Muc::Role> QXmppMucParticipant::role() const
Returns the participant's role in the room.