![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <tab_card_art_rules.h>
Classes | |
| struct | Entry |
Public Member Functions | |
| CardArtRulesModel (AbstractClient *client, QObject *parent=nullptr) | |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| QVariant | data (const QModelIndex &index, int role) const override |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| void | refresh () |
| void | clear () |
| QString | cardAt (int row) const |
| const Entry * | entryAt (int row) const |
Private Slots | |
| void | onRefreshFinished (const Response &r) |
Private Attributes | |
| AbstractClient * | client |
| std::vector< Entry > | entries |
|
explicit |
| QString CardArtRulesModel::cardAt | ( | int | row | ) | const |
| void CardArtRulesModel::clear | ( | ) |
|
override |
|
override |
| const CardArtRulesModel::Entry * CardArtRulesModel::entryAt | ( | int | row | ) | const |
|
override |
|
privateslot |
| void CardArtRulesModel::refresh | ( | ) |
|
override |
|
private |
|
private |