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

#include <chat_settings.h>

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

Signals

void chatMentionCompleterChanged ()

Public Member Functions

bool getChatMention () const override
bool getChatMentionCompleter () const override
QString getChatMentionColor () const override
QString getChatHighlightColor () const override
bool getChatMentionForeground () const override
bool getChatHighlightForeground () const override
bool getIgnoreUnregisteredUsers () const override
bool getIgnoreUnregisteredUserMessages () const override
bool getIgnoreNonBuddyUserMessages () const override
bool getShowMessagePopup () const override
bool getShowMentionPopup () const override
bool getRoomHistory () const override
QString getHighlightWords () const override
void setChatMention (bool _chatMention)
void setChatMentionCompleter (bool _chatMentionCompleter)
void setChatMentionColor (const QString &_chatMentionColor)
void setChatHighlightColor (const QString &_chatHighlightColor)
void setChatMentionForeground (bool _chatMentionForeground)
void setChatHighlightForeground (bool _chatHighlightForeground)
void setIgnoreUnregisteredUsers (bool _ignoreUnregisteredUsers)
void setIgnoreUnregisteredUserMessages (bool _ignoreUnregisteredUserMessages)
void setIgnoreNonBuddyUserMessages (bool _ignoreNonBuddyUserMessages)
void setShowMessagePopups (bool _showMessagePopups)
void setShowMentionPopups (bool _showMentionPopups)
void setRoomHistory (bool _roomHistory)
void setHighlightWords (const QString &_highlightWords)
 ChatSettings (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 IChatSettingsProvider
virtual ~IChatSettingsProvider ()=default

Private Member Functions

 ChatSettings (const ChatSettings &)

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

◆ ChatSettings() [1/2]

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

◆ ChatSettings() [2/2]

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

Member Function Documentation

◆ chatMentionCompleterChanged

void ChatSettings::chatMentionCompleterChanged ( )
signal
Here is the caller graph for this function:

◆ getChatHighlightColor()

QString ChatSettings::getChatHighlightColor ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getChatHighlightForeground()

bool ChatSettings::getChatHighlightForeground ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getChatMention()

bool ChatSettings::getChatMention ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getChatMentionColor()

QString ChatSettings::getChatMentionColor ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getChatMentionCompleter()

bool ChatSettings::getChatMentionCompleter ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

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

◆ getChatMentionForeground()

bool ChatSettings::getChatMentionForeground ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getHighlightWords()

QString ChatSettings::getHighlightWords ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getIgnoreNonBuddyUserMessages()

bool ChatSettings::getIgnoreNonBuddyUserMessages ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getIgnoreUnregisteredUserMessages()

bool ChatSettings::getIgnoreUnregisteredUserMessages ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getIgnoreUnregisteredUsers()

bool ChatSettings::getIgnoreUnregisteredUsers ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getRoomHistory()

bool ChatSettings::getRoomHistory ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getShowMentionPopup()

bool ChatSettings::getShowMentionPopup ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ getShowMessagePopup()

bool ChatSettings::getShowMessagePopup ( ) const
nodiscardoverridevirtual

Implements IChatSettingsProvider.

Here is the call graph for this function:

◆ setChatHighlightColor()

void ChatSettings::setChatHighlightColor ( const QString & _chatHighlightColor)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setChatHighlightForeground()

void ChatSettings::setChatHighlightForeground ( bool _chatHighlightForeground)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setChatMention()

void ChatSettings::setChatMention ( bool _chatMention)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setChatMentionColor()

void ChatSettings::setChatMentionColor ( const QString & _chatMentionColor)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setChatMentionCompleter()

void ChatSettings::setChatMentionCompleter ( bool _chatMentionCompleter)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setChatMentionForeground()

void ChatSettings::setChatMentionForeground ( bool _chatMentionForeground)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHighlightWords()

void ChatSettings::setHighlightWords ( const QString & _highlightWords)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIgnoreNonBuddyUserMessages()

void ChatSettings::setIgnoreNonBuddyUserMessages ( bool _ignoreNonBuddyUserMessages)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIgnoreUnregisteredUserMessages()

void ChatSettings::setIgnoreUnregisteredUserMessages ( bool _ignoreUnregisteredUserMessages)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIgnoreUnregisteredUsers()

void ChatSettings::setIgnoreUnregisteredUsers ( bool _ignoreUnregisteredUsers)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRoomHistory()

void ChatSettings::setRoomHistory ( bool _roomHistory)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShowMentionPopups()

void ChatSettings::setShowMentionPopups ( bool _showMentionPopups)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setShowMessagePopups()

void ChatSettings::setShowMessagePopups ( bool _showMessagePopups)
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: