libQuotient
A Qt library for building matrix clients
Quotient::RoomMemberEvent Class Reference

#include <roommemberevent.h>

Inheritance diagram for Quotient::RoomMemberEvent:
Collaboration diagram for Quotient::RoomMemberEvent:

Public Member Functions

Membership membership () const
 
QString userId () const
 
bool isDirect () const
 
std::optional< QString > newDisplayName () const
 
std::optional< QUrl > newAvatarUrl () const
 
QString reason () const
 
bool changesMembership () const
 
bool isBan () const
 
bool isUnban () const
 
bool isInvite () const
 
bool isRejectedInvite () const
 
bool isJoin () const
 
bool isLeave () const
 
bool isRename () const
 
bool isAvatarUpdate () const
 
- Public Member Functions inherited from Quotient::EventTemplate< EventT, BaseEventT, ContentT >
 EventTemplate (const QJsonObject &json)
 
 EventTemplate (const ContentT &c)
 
ContentT content () const
 

Static Public Member Functions

static bool isValid (const QJsonObject &fullJson)
 

Additional Inherited Members

- Public Types inherited from Quotient::EventTemplate< EventT, BaseEventT, ContentT >
using content_type = ContentT
 
- Static Public Attributes inherited from Quotient::KeyedStateEventBase< RoomMemberEvent, MemberEventContent >
static constexpr auto needsStateKey
 

Detailed Description

Definition at line 27 of file roommemberevent.h.

Member Function Documentation

◆ changesMembership()

bool Quotient::RoomMemberEvent::changesMembership ( ) const

◆ isAvatarUpdate()

bool Quotient::RoomMemberEvent::isAvatarUpdate ( ) const

◆ isBan()

bool Quotient::RoomMemberEvent::isBan ( ) const

◆ isDirect()

bool Quotient::RoomMemberEvent::isDirect ( ) const
inline

Definition at line 42 of file roommemberevent.h.

◆ isInvite()

bool Quotient::RoomMemberEvent::isInvite ( ) const

◆ isJoin()

bool Quotient::RoomMemberEvent::isJoin ( ) const

◆ isLeave()

bool Quotient::RoomMemberEvent::isLeave ( ) const

◆ isRejectedInvite()

bool Quotient::RoomMemberEvent::isRejectedInvite ( ) const

◆ isRename()

bool Quotient::RoomMemberEvent::isRename ( ) const

◆ isUnban()

bool Quotient::RoomMemberEvent::isUnban ( ) const

◆ isValid()

static bool Quotient::RoomMemberEvent::isValid ( const QJsonObject &  fullJson)
inlinestatic

Definition at line 33 of file roommemberevent.h.

◆ membership()

Membership Quotient::RoomMemberEvent::membership ( ) const
inline

Definition at line 40 of file roommemberevent.h.

◆ newAvatarUrl()

std::optional<QUrl> Quotient::RoomMemberEvent::newAvatarUrl ( ) const
inline

Definition at line 44 of file roommemberevent.h.

◆ newDisplayName()

std::optional<QString> Quotient::RoomMemberEvent::newDisplayName ( ) const
inline

Definition at line 43 of file roommemberevent.h.

◆ reason()

QString Quotient::RoomMemberEvent::reason ( ) const
inline

Definition at line 45 of file roommemberevent.h.

◆ userId()

QString Quotient::RoomMemberEvent::userId ( ) const
inline

Definition at line 41 of file roommemberevent.h.


The documentation for this class was generated from the following file: