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

#include <roompowerlevelsevent.h>

Inheritance diagram for Quotient::RoomPowerLevelsEvent:
Collaboration diagram for Quotient::RoomPowerLevelsEvent:

Public Member Functions

int invite () const
 
int kick () const
 
int ban () const
 
int redact () const
 
QHash< QString, int > events () const
 
int eventsDefault () const
 
int stateDefault () const
 
QHash< QString, int > users () const
 
int usersDefault () const
 
int roomNotification () const
 
int powerLevelForEvent (const QString &eventTypeId) const
 
int powerLevelForState (const QString &eventTypeId) const
 
int powerLevelForUser (const QString &userId) const
 
template<typename... ContentParamTs>
 KeylessStateEventBase (ContentParamTs &&... contentParams)
 
 KeylessStateEventBase (const QJsonObject &fullJson)
 
- Public Member Functions inherited from Quotient::KeylessStateEventBase< RoomPowerLevelsEvent, PowerLevelsEventContent >
 KeylessStateEventBase (ContentParamTs &&... contentParams)
 
- Public Member Functions inherited from Quotient::EventTemplate< EventT, BaseEventT, ContentT >
 EventTemplate (const QJsonObject &json)
 
 EventTemplate (const ContentT &c)
 
ContentT content () const
 

Additional Inherited Members

- Public Types inherited from Quotient::EventTemplate< EventT, BaseEventT, ContentT >
using content_type = ContentT
 
- Protected Member Functions inherited from Quotient::KeylessStateEventBase< RoomPowerLevelsEvent, PowerLevelsEventContent >
 KeylessStateEventBase (const QJsonObject &fullJson)
 

Detailed Description

Definition at line 33 of file roompowerlevelsevent.h.

Member Function Documentation

◆ ban()

int Quotient::RoomPowerLevelsEvent::ban ( ) const
inline

Definition at line 42 of file roompowerlevelsevent.h.

◆ events()

QHash<QString, int> Quotient::RoomPowerLevelsEvent::events ( ) const
inline

Definition at line 46 of file roompowerlevelsevent.h.

◆ eventsDefault()

int Quotient::RoomPowerLevelsEvent::eventsDefault ( ) const
inline

Definition at line 47 of file roompowerlevelsevent.h.

◆ invite()

int Quotient::RoomPowerLevelsEvent::invite ( ) const
inline

Definition at line 40 of file roompowerlevelsevent.h.

◆ KeylessStateEventBase() [1/2]

Quotient::KeylessStateEventBase< EventT, ContentT >::KeylessStateEventBase
inlineexplicit

Definition at line 130 of file stateevent.h.

◆ KeylessStateEventBase() [2/2]

template<typename... ContentParamTs>
Quotient::KeylessStateEventBase< EventT, ContentT >::KeylessStateEventBase ( typename...  ContentParamTs)
inlineexplicit

Definition at line 125 of file stateevent.h.

◆ kick()

int Quotient::RoomPowerLevelsEvent::kick ( ) const
inline

Definition at line 41 of file roompowerlevelsevent.h.

◆ powerLevelForEvent()

int Quotient::RoomPowerLevelsEvent::powerLevelForEvent ( const QString &  eventTypeId) const

◆ powerLevelForState()

int Quotient::RoomPowerLevelsEvent::powerLevelForState ( const QString &  eventTypeId) const

◆ powerLevelForUser()

int Quotient::RoomPowerLevelsEvent::powerLevelForUser ( const QString &  userId) const

◆ redact()

int Quotient::RoomPowerLevelsEvent::redact ( ) const
inline

Definition at line 44 of file roompowerlevelsevent.h.

◆ roomNotification()

int Quotient::RoomPowerLevelsEvent::roomNotification ( ) const
inline

Definition at line 53 of file roompowerlevelsevent.h.

◆ stateDefault()

int Quotient::RoomPowerLevelsEvent::stateDefault ( ) const
inline

Definition at line 48 of file roompowerlevelsevent.h.

◆ users()

QHash<QString, int> Quotient::RoomPowerLevelsEvent::users ( ) const
inline

Definition at line 50 of file roompowerlevelsevent.h.

◆ usersDefault()

int Quotient::RoomPowerLevelsEvent::usersDefault ( ) const
inline

Definition at line 51 of file roompowerlevelsevent.h.


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