Cockatrice 2026-04-21-Development-2.11.0-beta.61
A 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 () const
bool isHideFullGames () const
bool isHideGamesThatStarted () const
bool isHidePasswordProtectedGames () const
bool isHideIgnoredUserGames () const
bool isHideNotBuddyCreatedGames () const
bool isHideOpenDecklistGames () const
QString getGameNameFilter () const
QStringList getCreatorNameFilters () 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 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) const
QVariant getValue (const QString &name, const QString &group, const QString &subGroup=QString()) const
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

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 ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getGameNameFilter()

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

◆ getMaxGameAge()

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

◆ getMaxPlayers()

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

◆ getMinPlayers()

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

◆ isGameTypeEnabled()

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

◆ isHideBuddiesOnlyGames()

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

◆ isHideFullGames()

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

◆ isHideGamesThatStarted()

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

◆ isHideIgnoredUserGames()

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

◆ isHideNotBuddyCreatedGames()

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

◆ isHideOpenDecklistGames()

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

◆ isHidePasswordProtectedGames()

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

◆ isShowOnlyIfSpectatorsCanChat()

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

◆ isShowOnlyIfSpectatorsCanSeeHands()

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

◆ isShowOnlyIfSpectatorsCanWatch()

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

◆ isShowSpectatorPasswordProtected()

bool GameFiltersSettings::isShowSpectatorPasswordProtected ( ) const
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: