mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 03:28:49 -07:00
context menu for a message sender's name in chat; also display the user level icon next to the name; minor consistency and type-safety changes
This commit is contained in:
parent
f9e0b6fe9e
commit
95cd293b9c
30 changed files with 283 additions and 195 deletions
|
|
@ -21,7 +21,7 @@ class TabUserLists : public Tab {
|
|||
signals:
|
||||
void openMessageDialog(const QString &userName, bool focus);
|
||||
void userLeft(const QString &userName);
|
||||
void userJoined(const QString &userName);
|
||||
void userJoined(const ServerInfo_User &userInfo);
|
||||
private slots:
|
||||
void processListUsersResponse(const Response &response);
|
||||
void processUserJoinedEvent(const Event_UserJoined &event);
|
||||
|
|
@ -40,8 +40,9 @@ public:
|
|||
TabUserLists(TabSupervisor *_tabSupervisor, AbstractClient *_client, const ServerInfo_User &userInfo, QWidget *parent = 0);
|
||||
void retranslateUi();
|
||||
QString getTabText() const { return tr("User lists"); }
|
||||
UserList *getBuddyList() const { return buddyList; }
|
||||
UserList *getIgnoreList() const { return ignoreList; }
|
||||
const UserList *getAllUsersList() const { return allUsersList; }
|
||||
const UserList *getBuddyList() const { return buddyList; }
|
||||
const UserList *getIgnoreList() const { return ignoreList; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue