![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <chat_settings.h>
Signals | |
| void | chatMentionCompleterChanged () |
Public Member Functions | |
| bool | getChatMention () const override |
| bool | getChatMentionCompleter () const override |
| QString | getChatMentionColor () const override |
| QString | getChatHighlightColor () const override |
| QString | getChannelUnreadColor () const override |
| QString | getChannelMentionColor () 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 |
| bool | getIgnoreAllPrivateMessages () const override |
| bool | getUseGameTime () 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 | setChannelUnreadColor (const QString &_channelUnreadColor) |
| void | setChannelMentionColor (const QString &_channelMentionColor) |
| 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 | setIgnoreAllPrivateMessages (bool _ignoreAllPrivateMessages) |
| void | setUseGameTime (bool _useGameTime) |
| 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 |
|
explicit |
|
private |
|
signal |
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
|
nodiscardoverridevirtual |
Implements IChatSettingsProvider.
| void ChatSettings::setChannelMentionColor | ( | const QString & | _channelMentionColor | ) |
| void ChatSettings::setChannelUnreadColor | ( | const QString & | _channelUnreadColor | ) |
| void ChatSettings::setChatHighlightColor | ( | const QString & | _chatHighlightColor | ) |
| void ChatSettings::setChatHighlightForeground | ( | bool | _chatHighlightForeground | ) |
| void ChatSettings::setChatMention | ( | bool | _chatMention | ) |
| void ChatSettings::setChatMentionColor | ( | const QString & | _chatMentionColor | ) |
| void ChatSettings::setChatMentionCompleter | ( | bool | _chatMentionCompleter | ) |
| void ChatSettings::setChatMentionForeground | ( | bool | _chatMentionForeground | ) |
| void ChatSettings::setHighlightWords | ( | const QString & | _highlightWords | ) |
| void ChatSettings::setIgnoreAllPrivateMessages | ( | bool | _ignoreAllPrivateMessages | ) |
| void ChatSettings::setIgnoreNonBuddyUserMessages | ( | bool | _ignoreNonBuddyUserMessages | ) |
| void ChatSettings::setIgnoreUnregisteredUserMessages | ( | bool | _ignoreUnregisteredUserMessages | ) |
| void ChatSettings::setIgnoreUnregisteredUsers | ( | bool | _ignoreUnregisteredUsers | ) |
| void ChatSettings::setRoomHistory | ( | bool | _roomHistory | ) |
| void ChatSettings::setShowMentionPopups | ( | bool | _showMentionPopups | ) |
| void ChatSettings::setShowMessagePopups | ( | bool | _showMessagePopups | ) |
| void ChatSettings::setUseGameTime | ( | bool | _useGameTime | ) |
|
friend |