![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <tip_of_the_day.h>
Public Types | |
| enum | Columns { TitleColumn , ContentColumn , ImagePathColumn , DateColumn } |
Public Member Functions | |
| TipsOfTheDay (QString xmlPath, QObject *parent=nullptr) | |
| ~TipsOfTheDay () override | |
| TipOfTheDay | getTip (int tipId) |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| QVariant | data (const QModelIndex &index, int role) const override |
Private Attributes | |
| QList< TipOfTheDay > * | tipList |
|
explicit |
|
override |
|
nodiscardoverride |
| TipOfTheDay TipsOfTheDay::getTip | ( | int | tipId | ) |
|
nodiscardoverride |
|
private |