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

#include <updates_settings.h>

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

Public Member Functions

bool getCheckUpdatesOnStartup () const override
bool getStartupCardUpdateCheckPromptForUpdate () override
bool getStartupCardUpdateCheckAlwaysUpdate () override
int getCardUpdateCheckInterval () const override
QDate getLastCardUpdateCheck () const override
bool getCardUpdateCheckRequired () const override
bool getAlwaysEnableNewSets () const override
bool getNotifyAboutUpdates () const override
bool getNotifyAboutNewVersion () const override
int getUpdateReleaseChannelIndex () const override
void setCheckUpdatesOnStartup (bool value)
void setStartupCardUpdateCheckPromptForUpdate (bool value)
void setStartupCardUpdateCheckAlwaysUpdate (bool value)
void setCardUpdateCheckInterval (int value)
void setLastCardUpdateCheck (QDate value)
void setAlwaysEnableNewSets (bool value)
void setNotifyAboutUpdates (bool _notifyaboutupdate)
void setNotifyAboutNewVersion (bool _notifyaboutnewversion)
void setUpdateReleaseChannelIndex (int value)
 UpdatesSettings (const QString &settingPath, QObject *parent=nullptr)
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 IUpdatesSettingsProvider
virtual ~IUpdatesSettingsProvider ()=default

Private Member Functions

 UpdatesSettings (const UpdatesSettings &)

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

◆ UpdatesSettings() [1/2]

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

◆ UpdatesSettings() [2/2]

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

Member Function Documentation

◆ getAlwaysEnableNewSets()

bool UpdatesSettings::getAlwaysEnableNewSets ( ) const
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

Here is the call graph for this function:

◆ getCardUpdateCheckInterval()

int UpdatesSettings::getCardUpdateCheckInterval ( ) const
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

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

◆ getCardUpdateCheckRequired()

bool UpdatesSettings::getCardUpdateCheckRequired ( ) const
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

Here is the call graph for this function:

◆ getCheckUpdatesOnStartup()

bool UpdatesSettings::getCheckUpdatesOnStartup ( ) const
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

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

◆ getLastCardUpdateCheck()

QDate UpdatesSettings::getLastCardUpdateCheck ( ) const
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

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

◆ getNotifyAboutNewVersion()

bool UpdatesSettings::getNotifyAboutNewVersion ( ) const
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

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

◆ getNotifyAboutUpdates()

bool UpdatesSettings::getNotifyAboutUpdates ( ) const
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

Here is the call graph for this function:

◆ getStartupCardUpdateCheckAlwaysUpdate()

bool UpdatesSettings::getStartupCardUpdateCheckAlwaysUpdate ( )
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

Here is the call graph for this function:

◆ getStartupCardUpdateCheckPromptForUpdate()

bool UpdatesSettings::getStartupCardUpdateCheckPromptForUpdate ( )
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

Here is the call graph for this function:

◆ getUpdateReleaseChannelIndex()

int UpdatesSettings::getUpdateReleaseChannelIndex ( ) const
nodiscardoverridevirtual

Implements IUpdatesSettingsProvider.

Here is the call graph for this function:

◆ setAlwaysEnableNewSets()

void UpdatesSettings::setAlwaysEnableNewSets ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCardUpdateCheckInterval()

void UpdatesSettings::setCardUpdateCheckInterval ( int value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCheckUpdatesOnStartup()

void UpdatesSettings::setCheckUpdatesOnStartup ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLastCardUpdateCheck()

void UpdatesSettings::setLastCardUpdateCheck ( QDate value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNotifyAboutNewVersion()

void UpdatesSettings::setNotifyAboutNewVersion ( bool _notifyaboutnewversion)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNotifyAboutUpdates()

void UpdatesSettings::setNotifyAboutUpdates ( bool _notifyaboutupdate)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStartupCardUpdateCheckAlwaysUpdate()

void UpdatesSettings::setStartupCardUpdateCheckAlwaysUpdate ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStartupCardUpdateCheckPromptForUpdate()

void UpdatesSettings::setStartupCardUpdateCheckPromptForUpdate ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUpdateReleaseChannelIndex()

void UpdatesSettings::setUpdateReleaseChannelIndex ( int value)
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: