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

#include <tabs_settings.h>

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

Signals

void startupTabIndexChanged (int index)
void startupServerHostChanged (const QString &host)
void startupServerPortChanged (const QString &port)
void startupRoomNameChanged (const QString &roomName)

Public Member Functions

int getStartupTabIndex () const override
QString getStartupServerHost () const override
QString getStartupServerPort () const override
QString getStartupRoomName () const override
bool getTabVisualDeckStorageOpen () const override
bool getTabServerOpen () const override
bool getTabAccountOpen () const override
bool getTabDeckStorageOpen () const override
bool getTabReplaysOpen () const override
bool getTabAdminOpen () const override
bool getTabLogOpen () const override
bool getTabReportOpen () const override
bool getTabModerationOpen () const override
bool getTabCardArtRulesOpen () const override
void setStartupTabIndex (int value)
void setStartupServerHost (const QString &host)
void setStartupServerPort (const QString &port)
void setStartupRoomName (const QString &roomName)
void setTabVisualDeckStorageOpen (bool value)
void setTabServerOpen (bool value)
void setTabAccountOpen (bool value)
void setTabDeckStorageOpen (bool value)
void setTabReplaysOpen (bool value)
void setTabAdminOpen (bool value)
void setTabLogOpen (bool value)
void setTabReportOpen (bool value)
void setTabModerationOpen (bool value)
void setTabCardArtRulesOpen (bool value)
 TabsSettings (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 ITabsSettingsProvider
virtual ~ITabsSettingsProvider ()=default

Private Member Functions

 TabsSettings (const TabsSettings &)

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

◆ TabsSettings() [1/2]

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

◆ TabsSettings() [2/2]

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

Member Function Documentation

◆ getStartupRoomName()

QString TabsSettings::getStartupRoomName ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

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

◆ getStartupServerHost()

QString TabsSettings::getStartupServerHost ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

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

◆ getStartupServerPort()

QString TabsSettings::getStartupServerPort ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

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

◆ getStartupTabIndex()

int TabsSettings::getStartupTabIndex ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

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

◆ getTabAccountOpen()

bool TabsSettings::getTabAccountOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ getTabAdminOpen()

bool TabsSettings::getTabAdminOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ getTabCardArtRulesOpen()

bool TabsSettings::getTabCardArtRulesOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ getTabDeckStorageOpen()

bool TabsSettings::getTabDeckStorageOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ getTabLogOpen()

bool TabsSettings::getTabLogOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ getTabModerationOpen()

bool TabsSettings::getTabModerationOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ getTabReplaysOpen()

bool TabsSettings::getTabReplaysOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ getTabReportOpen()

bool TabsSettings::getTabReportOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ getTabServerOpen()

bool TabsSettings::getTabServerOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ getTabVisualDeckStorageOpen()

bool TabsSettings::getTabVisualDeckStorageOpen ( ) const
nodiscardoverridevirtual

Implements ITabsSettingsProvider.

Here is the call graph for this function:

◆ setStartupRoomName()

void TabsSettings::setStartupRoomName ( const QString & roomName)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStartupServerHost()

void TabsSettings::setStartupServerHost ( const QString & host)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStartupServerPort()

void TabsSettings::setStartupServerPort ( const QString & port)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStartupTabIndex()

void TabsSettings::setStartupTabIndex ( int value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabAccountOpen()

void TabsSettings::setTabAccountOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabAdminOpen()

void TabsSettings::setTabAdminOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabCardArtRulesOpen()

void TabsSettings::setTabCardArtRulesOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabDeckStorageOpen()

void TabsSettings::setTabDeckStorageOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabLogOpen()

void TabsSettings::setTabLogOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabModerationOpen()

void TabsSettings::setTabModerationOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabReplaysOpen()

void TabsSettings::setTabReplaysOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabReportOpen()

void TabsSettings::setTabReportOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabServerOpen()

void TabsSettings::setTabServerOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTabVisualDeckStorageOpen()

void TabsSettings::setTabVisualDeckStorageOpen ( bool value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ startupRoomNameChanged

void TabsSettings::startupRoomNameChanged ( const QString & roomName)
signal
Here is the caller graph for this function:

◆ startupServerHostChanged

void TabsSettings::startupServerHostChanged ( const QString & host)
signal
Here is the caller graph for this function:

◆ startupServerPortChanged

void TabsSettings::startupServerPortChanged ( const QString & port)
signal
Here is the caller graph for this function:

◆ startupTabIndexChanged

void TabsSettings::startupTabIndexChanged ( int index)
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: