Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
GameFiltersSettings Class Reference

#include <game_filters_settings.h>

Inheritance diagram for GameFiltersSettings:
[legend]
Collaboration diagram for GameFiltersSettings:
[legend]

Public Member Functions

bool isHideBuddiesOnlyGames ()
bool isHideFullGames ()
bool isHideGamesThatStarted ()
bool isHidePasswordProtectedGames ()
bool isHideIgnoredUserGames ()
bool isHideNotBuddyCreatedGames ()
bool isHideOpenDecklistGames ()
QString getGameNameFilter ()
QStringList getCreatorNameFilters ()
int getMinPlayers ()
int getMaxPlayers ()
QTime getMaxGameAge ()
bool isGameTypeEnabled (QString gametype)
bool isShowOnlyIfSpectatorsCanWatch ()
bool isShowSpectatorPasswordProtected ()
bool isShowOnlyIfSpectatorsCanChat ()
bool isShowOnlyIfSpectatorsCanSeeHands ()
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 setCreatorNameFilters (QStringList creatorName)
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)
QVariant getValue (const QString &name, const QString &group, const QString &subGroup=QString())
void sync ()

Private Member Functions

 GameFiltersSettings (const QString &settingPath, QObject *parent=nullptr)
 GameFiltersSettings (const GameFiltersSettings &)
QString hashGameType (const QString &gameType) const

Friends

class SettingsCache

Additional Inherited Members

Protected Member Functions inherited from SettingsManager
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
QSettings settings
QString defaultGroup
QString defaultSubGroup

Constructor & Destructor Documentation

◆ GameFiltersSettings() [1/2]

GameFiltersSettings::GameFiltersSettings ( const QString & settingPath,
QObject * parent = nullptr )
explicitprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GameFiltersSettings() [2/2]

GameFiltersSettings::GameFiltersSettings ( const GameFiltersSettings & )
private
Here is the call graph for this function:

Member Function Documentation

◆ getCreatorNameFilters()

QStringList GameFiltersSettings::getCreatorNameFilters ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getGameNameFilter()

QString GameFiltersSettings::getGameNameFilter ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMaxGameAge()

QTime GameFiltersSettings::getMaxGameAge ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMaxPlayers()

int GameFiltersSettings::getMaxPlayers ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMinPlayers()

int GameFiltersSettings::getMinPlayers ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hashGameType()

QString GameFiltersSettings::hashGameType ( const QString & gameType) const
nodiscardprivate
Here is the caller graph for this function:

◆ isGameTypeEnabled()

bool GameFiltersSettings::isGameTypeEnabled ( QString gametype)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHideBuddiesOnlyGames()

bool GameFiltersSettings::isHideBuddiesOnlyGames ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHideFullGames()

bool GameFiltersSettings::isHideFullGames ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHideGamesThatStarted()

bool GameFiltersSettings::isHideGamesThatStarted ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHideIgnoredUserGames()

bool GameFiltersSettings::isHideIgnoredUserGames ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHideNotBuddyCreatedGames()

bool GameFiltersSettings::isHideNotBuddyCreatedGames ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHideOpenDecklistGames()

bool GameFiltersSettings::isHideOpenDecklistGames ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isHidePasswordProtectedGames()

bool GameFiltersSettings::isHidePasswordProtectedGames ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isShowOnlyIfSpectatorsCanChat()

bool GameFiltersSettings::isShowOnlyIfSpectatorsCanChat ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isShowOnlyIfSpectatorsCanSeeHands()

bool GameFiltersSettings::isShowOnlyIfSpectatorsCanSeeHands ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isShowOnlyIfSpectatorsCanWatch()

bool GameFiltersSettings::isShowOnlyIfSpectatorsCanWatch ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isShowSpectatorPasswordProtected()

bool GameFiltersSettings::isShowSpectatorPasswordProtected ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCreatorNameFilters()

void GameFiltersSettings::setCreatorNameFilters ( QStringList creatorName)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setGameHashedTypeEnabled()

void GameFiltersSettings::setGameHashedTypeEnabled ( QString gametypeHASHED,
bool enabled )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setGameNameFilter()

void GameFiltersSettings::setGameNameFilter ( QString gameName)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setGameTypeEnabled()

void GameFiltersSettings::setGameTypeEnabled ( QString gametype,
bool enabled )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHideBuddiesOnlyGames()

void GameFiltersSettings::setHideBuddiesOnlyGames ( bool hide)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHideFullGames()

void GameFiltersSettings::setHideFullGames ( bool hide)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHideGamesThatStarted()

void GameFiltersSettings::setHideGamesThatStarted ( bool hide)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHideIgnoredUserGames()

void GameFiltersSettings::setHideIgnoredUserGames ( bool hide)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHideNotBuddyCreatedGames()

void GameFiltersSettings::setHideNotBuddyCreatedGames ( bool hide)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHideOpenDecklistGames()

void GameFiltersSettings::setHideOpenDecklistGames ( bool hide)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHidePasswordProtectedGames()

void GameFiltersSettings::setHidePasswordProtectedGames ( bool hide)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMaxGameAge()

void GameFiltersSettings::setMaxGameAge ( const QTime & maxGameAge)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMaxPlayers()

void GameFiltersSettings::setMaxPlayers ( int max)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMinPlayers()

void GameFiltersSettings::setMinPlayers ( int min)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShowOnlyIfSpectatorsCanChat()

void GameFiltersSettings::setShowOnlyIfSpectatorsCanChat ( bool show)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShowOnlyIfSpectatorsCanSeeHands()

void GameFiltersSettings::setShowOnlyIfSpectatorsCanSeeHands ( bool show)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShowOnlyIfSpectatorsCanWatch()

void GameFiltersSettings::setShowOnlyIfSpectatorsCanWatch ( bool show)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShowSpectatorPasswordProtected()

void GameFiltersSettings::setShowSpectatorPasswordProtected ( bool show)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SettingsCache

friend class SettingsCache
friend

The documentation for this class was generated from the following files: