equal
deleted
inserted
replaced
41 public: |
41 public: |
42 TeamSelWidget(QWidget* parent); |
42 TeamSelWidget(QWidget* parent); |
43 void setAcceptOuter(bool acceptOuter); |
43 void setAcceptOuter(bool acceptOuter); |
44 void removeNetTeam(const HWTeam& team); |
44 void removeNetTeam(const HWTeam& team); |
45 void resetPlayingTeams(const QList<HWTeam>& teamslist); |
45 void resetPlayingTeams(const QList<HWTeam>& teamslist); |
46 bool isPlaying(HWTeam team) const; |
46 bool isPlaying(const HWTeam &team) const; |
47 QList<HWTeam> getPlayingTeams() const; |
47 QList<HWTeam> getPlayingTeams() const; |
48 QList<HWTeam> getNotPlayingTeams() const; |
48 QList<HWTeam> getNotPlayingTeams() const; |
49 void setInteractivity(bool interactive); |
49 void setInteractivity(bool interactive); |
50 |
50 |
51 public slots: |
51 public slots: |
55 void changeTeamColor(const HWTeam&); |
55 void changeTeamColor(const HWTeam&); |
56 void changeTeamStatus(HWTeam team); |
56 void changeTeamStatus(HWTeam team); |
57 |
57 |
58 signals: |
58 signals: |
59 void setEnabledGameStart(bool); |
59 void setEnabledGameStart(bool); |
60 void teamWillPlay(HWTeam team); |
60 void teamWillPlay(const HWTeam& team); |
61 void teamNotPlaying(const HWTeam& team); |
61 void teamNotPlaying(const HWTeam& team); |
62 void hhogsNumChanged(const HWTeam&); |
62 void hhogsNumChanged(const HWTeam&); |
63 void teamColorChanged(const HWTeam&); |
63 void teamColorChanged(const HWTeam&); |
64 void acceptRequested(HWTeam team); |
64 void acceptRequested(const HWTeam& team); |
65 |
65 |
66 private slots: |
66 private slots: |
67 void pre_changeTeamStatus(HWTeam); |
67 void pre_changeTeamStatus(const HWTeam&); |
68 void hhNumChanged(const HWTeam& team); |
68 void hhNumChanged(const HWTeam& team); |
69 void proxyTeamColorChanged(const HWTeam& team); |
69 void proxyTeamColorChanged(const HWTeam& team); |
70 |
70 |
71 private: |
71 private: |
72 void addScrArea(FrameTeams* pfteams, QColor color, int maxHeight); |
72 void addScrArea(FrameTeams* pfteams, QColor color, int maxHeight); |