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

#include <message_settings.h>

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

Signals

void messageMacrosChanged ()

Public Member Functions

int getCount ()
QString getMessageAt (int index)
void setCount (int count)
void setMessageAt (int index, QString message)
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

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

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

◆ MessageSettings() [1/2]

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

◆ MessageSettings() [2/2]

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

Member Function Documentation

◆ getCount()

int MessageSettings::getCount ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMessageAt()

QString MessageSettings::getMessageAt ( int index)
Here is the call graph for this function:

◆ messageMacrosChanged

void MessageSettings::messageMacrosChanged ( )
signal
Here is the caller graph for this function:

◆ setCount()

void MessageSettings::setCount ( int count)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMessageAt()

void MessageSettings::setMessageAt ( int index,
QString message )
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: