equal
deleted
inserted
replaced
38 { |
38 { |
39 Q_OBJECT |
39 Q_OBJECT |
40 |
40 |
41 public: |
41 public: |
42 TeamSelWidget(QWidget* parent=0); |
42 TeamSelWidget(QWidget* parent=0); |
43 //void removeTeam(HWTeam team); |
43 void removeNetTeam(const HWTeam& team); |
44 void resetPlayingTeams(const QList<HWTeam>& teamslist); |
44 void resetPlayingTeams(const QList<HWTeam>& teamslist); |
45 bool isPlaying(HWTeam team) const; |
45 bool isPlaying(HWTeam team) const; |
46 list<HWTeam> getPlayingTeams() const; |
46 list<HWTeam> getPlayingTeams() const; |
47 |
47 |
48 public slots: |
48 public slots: |
49 void addTeam(HWTeam team); |
49 void addTeam(HWTeam team); |
50 |
50 void netTeamStatusChanged(const HWTeam& team); |
|
51 |
51 signals: |
52 signals: |
52 void NewTeam(); |
53 void NewTeam(); |
53 void teamWillPlay(HWTeam team); |
54 void teamWillPlay(HWTeam team); |
54 |
55 void teamNotPlaying(const HWTeam& team); |
|
56 |
55 private slots: |
57 private slots: |
56 void changeTeamStatus(HWTeam team); |
58 void changeTeamStatus(HWTeam team); |
57 void newTeamClicked(); |
59 void newTeamClicked(); |
58 |
60 |
59 private: |
61 private: |