#include <roompowerlevelsevent.h>
Definition at line 38 of file roompowerlevelsevent.h.
◆ ban()
int Quotient::RoomPowerLevelsEvent::ban |
( |
| ) |
const |
|
inline |
◆ events()
QHash<QString, int> Quotient::RoomPowerLevelsEvent::events |
( |
| ) |
const |
|
inline |
◆ eventsDefault()
int Quotient::RoomPowerLevelsEvent::eventsDefault |
( |
| ) |
const |
|
inline |
◆ invite()
int Quotient::RoomPowerLevelsEvent::invite |
( |
| ) |
const |
|
inline |
◆ KeylessStateEventBase() [1/2]
◆ KeylessStateEventBase() [2/2]
template<typename... ContentParamTs>
◆ kick()
int Quotient::RoomPowerLevelsEvent::kick |
( |
| ) |
const |
|
inline |
◆ powerLevelForEvent()
int Quotient::RoomPowerLevelsEvent::powerLevelForEvent |
( |
const QString & |
eventTypeId | ) |
const |
Get the power level for message events of a given type.
- Note
- You normally should not compare power levels returned from this and other powerLevelFor*() functions directly; use Room::canSendEvents() instead
◆ powerLevelForEventType()
template<EventClass EvT>
int Quotient::RoomPowerLevelsEvent::powerLevelForEventType |
( |
| ) |
const |
|
inline |
◆ powerLevelForState()
int Quotient::RoomPowerLevelsEvent::powerLevelForState |
( |
const QString & |
eventTypeId | ) |
const |
Get the power level for state events of a given type.
- Note
- You normally should not compare power levels returned from this and other powerLevelFor*() functions directly; use Room::canSetState() instead
◆ powerLevelForUser()
int Quotient::RoomPowerLevelsEvent::powerLevelForUser |
( |
const QString & |
userId | ) |
const |
Get the power level for a given user.
- Note
- You normally should not directly use power levels returned by this and other powerLevelFor*() functions; use Room API instead
- See also
- Room::canSend, Room::canSendEvents, Room::canSetState, Room::effectivePowerLevel
◆ redact()
int Quotient::RoomPowerLevelsEvent::redact |
( |
| ) |
const |
|
inline |
◆ roomNotification()
int Quotient::RoomPowerLevelsEvent::roomNotification |
( |
| ) |
const |
|
inline |
◆ stateDefault()
int Quotient::RoomPowerLevelsEvent::stateDefault |
( |
| ) |
const |
|
inline |
◆ users()
QHash<QString, int> Quotient::RoomPowerLevelsEvent::users |
( |
| ) |
const |
|
inline |
◆ usersDefault()
int Quotient::RoomPowerLevelsEvent::usersDefault |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: