![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
#include <tab_message.h>
Signals | |
| void | talkClosing (TabMessage *tab) |
| void | maximizeClient () |
| Signals inherited from Tab | |
| void | userEvent (bool globalEvent=true) |
| void | tabTextChanged (Tab *tab, const QString &newTabText) |
| void | cockatriceLinkActivated (const QString &url) |
Public Member Functions | |
| TabMessage (TabSupervisor *_tabSupervisor, AbstractClient *_client, const ServerInfo_User &_ownUserInfo, const ServerInfo_User &_otherUserInfo, bool _userOnline) | |
| ~TabMessage () override | |
| void | retranslateUi () override |
| void | tabActivated () override |
| QString | getUserName () const |
| QString | getTabText () const override |
| void | processUserMessageEvent (const Event_UserMessage &event) |
| void | processUserLeft () |
| void | processUserJoined (const ServerInfo_User &_userInfo) |
| bool | isUserOnline () const |
| void | sendPrivateMessage (const QString &text) |
| void | sendInviteMessage (const QString &text) |
| Public Member Functions inherited from Tab | |
| Tab (TabSupervisor *_tabSupervisor) | |
| const QList< QMenu * > & | getTabMenus () const |
| TabSupervisor * | getTabSupervisor () const |
| bool | getContentsChanged () const |
| void | setContentsChanged (bool _contentsChanged) |
| virtual bool | closeRequest () |
Protected Slots | |
| void | closeEvent (QCloseEvent *event) override |
| Protected Slots inherited from Tab | |
| void | showCardInfoPopup (const QPoint &pos, const CardRef &cardRef) |
| void | deleteCardInfoPopup (const QString &cardName) |
Private Slots | |
| void | sendMessage () |
| void | messageSent (const Response &response, const CommandContainer &commandContainer, const QVariant &extraData) |
| void | addMentionTag (QString mentionTag) |
| void | messageClicked () |
Private Member Functions | |
| bool | shouldShowSystemPopup (const Event_UserMessage &event) |
| void | showSystemPopup (const Event_UserMessage &event) |
| void | notifyUserOffline () |
Private Attributes | |
| AbstractClient * | client |
| QMenu * | messageMenu |
| ServerInfo_User * | ownUserInfo |
| ServerInfo_User * | otherUserInfo |
| bool | userOnline |
| ChatView * | chatView |
| LineEditUnfocusable * | sayEdit |
| QAction * | aLeave |
Additional Inherited Members | |
| Protected Member Functions inherited from Tab | |
| void | addTabMenu (QMenu *menu) |
| Protected Attributes inherited from Tab | |
| TabSupervisor * | tabSupervisor |
| TabMessage::TabMessage | ( | TabSupervisor * | _tabSupervisor, |
| AbstractClient * | _client, | ||
| const ServerInfo_User & | _ownUserInfo, | ||
| const ServerInfo_User & | _otherUserInfo, | ||
| bool | _userOnline ) |
|
override |
|
privateslot |
|
overrideprotectedslot |
|
nodiscardoverridevirtual |
Implements Tab.
|
nodiscard |
|
nodiscard |
|
signal |
|
privateslot |
|
privateslot |
|
private |
| void TabMessage::processUserJoined | ( | const ServerInfo_User & | _userInfo | ) |
| void TabMessage::processUserLeft | ( | ) |
| void TabMessage::processUserMessageEvent | ( | const Event_UserMessage & | event | ) |
|
overridevirtual |
| void TabMessage::sendInviteMessage | ( | const QString & | text | ) |
|
privateslot |
| void TabMessage::sendPrivateMessage | ( | const QString & | text | ) |
|
private |
|
private |
|
overridevirtual |
Reimplemented from Tab.
|
signal |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |