mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
Kaitlin Huben <kaitlin.huben+gitlab@gmail.com>
This commit is contained in:
parent
27b7ebe208
commit
2c3eab9b0c
4 changed files with 63 additions and 4 deletions
|
|
@ -77,6 +77,9 @@ private:
|
|||
int maxPlayersFilterMin, maxPlayersFilterMax;
|
||||
|
||||
static const int DEFAULT_MAX_PLAYERS_MAX = 99;
|
||||
static const bool DEFAULT_UNAVAILABLE_GAMES_VISIBLE = false;
|
||||
static const bool DEFAULT_SHOW_PASSWORD_PROTECTED_GAMES = true;
|
||||
static const bool DEFAULT_SHOW_BUDDIES_ONLY_GAMES = true;
|
||||
|
||||
public:
|
||||
GamesProxyModel(QObject *parent = nullptr, const TabSupervisor *_tabSupervisor = nullptr);
|
||||
|
|
@ -128,6 +131,7 @@ public:
|
|||
void resetFilterParameters();
|
||||
void loadFilterParameters(const QMap<int, QString> &allGameTypes);
|
||||
void saveFilterParameters(const QMap<int, QString> &allGameTypes);
|
||||
int getNumberOfAlteredFilters() const;
|
||||
void refresh();
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue