#include <ArenaRoomListModel.h>
◆ Roles
| Enumerator |
|---|
| RoomIdRole | |
| NameRole | |
| PhaseRole | |
| PasswordProtectedRole | |
| ConnectedCountRole | |
| ReservedCountRole | |
| MaximumCountRole | |
| MembersRole | |
◆ ArenaRoomListModel()
| arena::ArenaRoomListModel::ArenaRoomListModel |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ applyDelta()
| auto arena::ArenaRoomListModel::applyDelta |
( |
const QVector< RoomSummary > & |
upserts, |
|
|
const QVector< QString > & |
removedRoomIds |
|
) |
| -> bool |
◆ clear()
| void arena::ArenaRoomListModel::clear |
( |
| ) |
|
◆ countChanged
| void arena::ArenaRoomListModel::countChanged |
( |
| ) |
|
|
signal |
◆ data()
| auto arena::ArenaRoomListModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const -> QVariant |
|
override |
◆ findRoom()
| auto arena::ArenaRoomListModel::findRoom |
( |
QStringView |
id | ) |
const -> const RoomSummary* |
◆ remove()
| auto arena::ArenaRoomListModel::remove |
( |
QStringView |
roomId | ) |
-> bool |
◆ replace()
| auto arena::ArenaRoomListModel::replace |
( |
QVector< RoomSummary > |
rooms | ) |
-> bool |
◆ roleNames()
| auto arena::ArenaRoomListModel::roleNames |
( |
| ) |
const -> QHash<int, QByteArray> |
|
override |
◆ rowCount()
| auto arena::ArenaRoomListModel::rowCount |
( |
const QModelIndex & |
parent = {} | ) |
const -> int |
|
override |
◆ upsert()
| void arena::ArenaRoomListModel::upsert |
( |
RoomSummary |
room | ) |
|
◆ count
| int arena::ArenaRoomListModel::count |
|
read |
The documentation for this class was generated from the following files: