Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
PathsSettings Class Reference

#include <paths_settings.h>

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

Signals

void cardDatabasePathChanged ()
void picsPathChanged ()
void themeChanged ()

Public Member Functions

QString getDeckPath () const override
QString getFiltersPath () const override
QString getReplaysPath () const override
QString getPicsPath () const override
QString getCustomPicsPath () const override
QString getThemesPath () const override
QString getCardDatabasePath () const override
QString getCustomCardDatabasePath () const override
QString getTokenDatabasePath () const override
QString getSpoilerCardDatabasePath () const override
QString getRedirectCachePath () const override
void setDeckPath (const QString &_deckPath)
void setFiltersPath (const QString &_filtersPath)
void setReplaysPath (const QString &_replaysPath)
void setPicsPath (const QString &_picsPath)
void setCustomPicsPath (const QString &_customPicsPath)
void setThemesPath (const QString &_themesPath)
void setCardDatabasePath (const QString &_cardDatabasePath)
void setCustomCardDatabasePath (const QString &_customCardDatabasePath)
void setTokenDatabasePath (const QString &_tokenDatabasePath)
void setSpoilerDatabasePath (const QString &_spoilerDatabasePath)
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 ()
Public Member Functions inherited from IPathsSettingsProvider
virtual ~IPathsSettingsProvider ()=default

Private Member Functions

 PathsSettings (const QString &settingPath, QObject *parent=nullptr)
 PathsSettings (const PathsSettings &)

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

◆ PathsSettings() [1/2]

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

◆ PathsSettings() [2/2]

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

Member Function Documentation

◆ cardDatabasePathChanged

void PathsSettings::cardDatabasePathChanged ( )
signal
Here is the caller graph for this function:

◆ getCardDatabasePath()

QString PathsSettings::getCardDatabasePath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCustomCardDatabasePath()

QString PathsSettings::getCustomCardDatabasePath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCustomPicsPath()

QString PathsSettings::getCustomPicsPath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDeckPath()

QString PathsSettings::getDeckPath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFiltersPath()

QString PathsSettings::getFiltersPath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPicsPath()

QString PathsSettings::getPicsPath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRedirectCachePath()

QString PathsSettings::getRedirectCachePath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getReplaysPath()

QString PathsSettings::getReplaysPath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSpoilerCardDatabasePath()

QString PathsSettings::getSpoilerCardDatabasePath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getThemesPath()

QString PathsSettings::getThemesPath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTokenDatabasePath()

QString PathsSettings::getTokenDatabasePath ( ) const
nodiscardoverridevirtual

Implements IPathsSettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ picsPathChanged

void PathsSettings::picsPathChanged ( )
signal
Here is the caller graph for this function:

◆ setCardDatabasePath()

void PathsSettings::setCardDatabasePath ( const QString & _cardDatabasePath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCustomCardDatabasePath()

void PathsSettings::setCustomCardDatabasePath ( const QString & _customCardDatabasePath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCustomPicsPath()

void PathsSettings::setCustomPicsPath ( const QString & _customPicsPath)
Here is the call graph for this function:

◆ setDeckPath()

void PathsSettings::setDeckPath ( const QString & _deckPath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFiltersPath()

void PathsSettings::setFiltersPath ( const QString & _filtersPath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPicsPath()

void PathsSettings::setPicsPath ( const QString & _picsPath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setReplaysPath()

void PathsSettings::setReplaysPath ( const QString & _replaysPath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSpoilerDatabasePath()

void PathsSettings::setSpoilerDatabasePath ( const QString & _spoilerDatabasePath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setThemesPath()

void PathsSettings::setThemesPath ( const QString & _themesPath)
Here is the call graph for this function:

◆ setTokenDatabasePath()

void PathsSettings::setTokenDatabasePath ( const QString & _tokenDatabasePath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ themeChanged

void PathsSettings::themeChanged ( )
signal
Here is the caller graph for this function:

◆ SettingsCache

friend class SettingsCache
friend

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