![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <game_filters_settings.h>
Public Member Functions | |
| bool | isHideBuddiesOnlyGames () const |
| bool | isHideFullGames () const |
| bool | isHideGamesThatStarted () const |
| bool | isHidePasswordProtectedGames () const |
| bool | isHideIgnoredUserGames () const |
| bool | isHideNotBuddyCreatedGames () const |
| bool | isHideOpenDecklistGames () const |
| QString | getGameNameFilter () const |
| QStringList | getHostNameFilters () const |
| int | getMinPlayers () const |
| int | getMaxPlayers () const |
| QTime | getMaxGameAge () const |
| bool | isGameTypeEnabled (QString gametype) const |
| bool | isShowOnlyIfSpectatorsCanWatch () const |
| bool | isShowSpectatorPasswordProtected () const |
| bool | isShowOnlyIfSpectatorsCanChat () const |
| bool | isShowOnlyIfSpectatorsCanSeeHands () const |
| void | setHideBuddiesOnlyGames (bool hide) |
| void | setHideIgnoredUserGames (bool hide) |
| void | setHideOpenDecklistGames (bool hide) |
| void | setHideFullGames (bool hide) |
| void | setHideGamesThatStarted (bool hide) |
| void | setHidePasswordProtectedGames (bool hide) |
| void | setHideNotBuddyCreatedGames (bool hide) |
| void | setGameNameFilter (QString gameName) |
| void | setHostNameFilters (QStringList hostName) |
| void | setMinPlayers (int min) |
| void | setMaxPlayers (int max) |
| void | setMaxGameAge (const QTime &maxGameAge) |
| void | setGameTypeEnabled (QString gametype, bool enabled) |
| void | setGameHashedTypeEnabled (QString gametypeHASHED, bool enabled) |
| void | setShowOnlyIfSpectatorsCanWatch (bool show) |
| void | setShowSpectatorPasswordProtected (bool show) |
| void | setShowOnlyIfSpectatorsCanChat (bool show) |
| void | setShowOnlyIfSpectatorsCanSeeHands (bool show) |
| Public Member Functions inherited from SettingsManager | |
| SettingsManager (const QString &settingPath, const QString &defaultGroup=QString(), const QString &defaultSubGroup=QString(), QObject *parent=nullptr) | |
| QVariant | getValue (const QString &name) const |
| QVariant | getValue (const QString &name, const QString &group, const QString &subGroup=QString()) const |
| QVariant | getValue (const QString &name, const QString &group, const QString &subGroup, const QVariant &defaultValue) const |
| void | batchWrite (std::function< void(QSettings &)> batchWriteFunction) |
| void | sync () |
Private Member Functions | |
| GameFiltersSettings (const QString &settingPath, QObject *parent=nullptr) | |
| GameFiltersSettings (const GameFiltersSettings &) | |
Friends | |
| class | SettingsCache |
Additional Inherited Members | |
| Protected Member Functions inherited from SettingsManager | |
| QSettings | getSettings () const |
| void | setValue (const QVariant &value, const QString &name) |
| void | setValue (const QVariant &value, const QString &name, const QString &group, const QString &subGroup=QString()) |
| void | deleteValue (const QString &name) |
| void | deleteValue (const QString &name, const QString &group, const QString &subGroup=QString()) |
| Protected Attributes inherited from SettingsManager | |
| QString | settingPath |
| QString | defaultGroup |
| QString | defaultSubGroup |
|
explicitprivate |
|
private |
| QString GameFiltersSettings::getGameNameFilter | ( | ) | const |
| QStringList GameFiltersSettings::getHostNameFilters | ( | ) | const |
| QTime GameFiltersSettings::getMaxGameAge | ( | ) | const |
| int GameFiltersSettings::getMaxPlayers | ( | ) | const |
| int GameFiltersSettings::getMinPlayers | ( | ) | const |
| bool GameFiltersSettings::isGameTypeEnabled | ( | QString | gametype | ) | const |
| bool GameFiltersSettings::isHideBuddiesOnlyGames | ( | ) | const |
| bool GameFiltersSettings::isHideFullGames | ( | ) | const |
| bool GameFiltersSettings::isHideGamesThatStarted | ( | ) | const |
| bool GameFiltersSettings::isHideIgnoredUserGames | ( | ) | const |
| bool GameFiltersSettings::isHideNotBuddyCreatedGames | ( | ) | const |
| bool GameFiltersSettings::isHideOpenDecklistGames | ( | ) | const |
| bool GameFiltersSettings::isHidePasswordProtectedGames | ( | ) | const |
| bool GameFiltersSettings::isShowOnlyIfSpectatorsCanChat | ( | ) | const |
| bool GameFiltersSettings::isShowOnlyIfSpectatorsCanSeeHands | ( | ) | const |
| bool GameFiltersSettings::isShowOnlyIfSpectatorsCanWatch | ( | ) | const |
| bool GameFiltersSettings::isShowSpectatorPasswordProtected | ( | ) | const |
| void GameFiltersSettings::setGameHashedTypeEnabled | ( | QString | gametypeHASHED, |
| bool | enabled ) |
| void GameFiltersSettings::setGameNameFilter | ( | QString | gameName | ) |
| void GameFiltersSettings::setGameTypeEnabled | ( | QString | gametype, |
| bool | enabled ) |
| void GameFiltersSettings::setHideBuddiesOnlyGames | ( | bool | hide | ) |
| void GameFiltersSettings::setHideFullGames | ( | bool | hide | ) |
| void GameFiltersSettings::setHideGamesThatStarted | ( | bool | hide | ) |
| void GameFiltersSettings::setHideIgnoredUserGames | ( | bool | hide | ) |
| void GameFiltersSettings::setHideNotBuddyCreatedGames | ( | bool | hide | ) |
| void GameFiltersSettings::setHideOpenDecklistGames | ( | bool | hide | ) |
| void GameFiltersSettings::setHidePasswordProtectedGames | ( | bool | hide | ) |
| void GameFiltersSettings::setHostNameFilters | ( | QStringList | hostName | ) |
| void GameFiltersSettings::setMaxGameAge | ( | const QTime & | maxGameAge | ) |
| void GameFiltersSettings::setMaxPlayers | ( | int | max | ) |
| void GameFiltersSettings::setMinPlayers | ( | int | min | ) |
| void GameFiltersSettings::setShowOnlyIfSpectatorsCanChat | ( | bool | show | ) |
| void GameFiltersSettings::setShowOnlyIfSpectatorsCanSeeHands | ( | bool | show | ) |
| void GameFiltersSettings::setShowOnlyIfSpectatorsCanWatch | ( | bool | show | ) |
| void GameFiltersSettings::setShowSpectatorPasswordProtected | ( | bool | show | ) |
|
friend |