moved the user list context menu to a separate class to avoid redundant code

This commit is contained in:
Max-Wilhelm Bruker 2012-04-07 23:05:45 +02:00
parent ae19d3dc4b
commit f9e0b6fe9e
10 changed files with 251 additions and 250 deletions

View file

@ -10,6 +10,7 @@ class ServerInfo_PlayerProperties;
class TabSupervisor;
class AbstractClient;
class TabGame;
class UserContextMenu;
class PlayerListItemDelegate : public QStyledItemDelegate {
public:
@ -31,6 +32,7 @@ private:
TabSupervisor *tabSupervisor;
AbstractClient *client;
TabGame *game;
UserContextMenu *userContextMenu;
QIcon readyIcon, notReadyIcon, concededIcon, playerIcon, spectatorIcon, lockIcon;
bool gameStarted;
signals: