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 addTeam(HWTeam team); |
|
44 //void removeTeam(HWTeam team); |
43 //void removeTeam(HWTeam team); |
45 void resetPlayingTeams(const QList<HWTeam>& teamslist); |
44 void resetPlayingTeams(const QList<HWTeam>& teamslist); |
46 bool isPlaying(HWTeam team) const; |
45 bool isPlaying(HWTeam team) const; |
47 HWTeamTempParams getTeamParams(HWTeam team) const; |
46 HWTeamTempParams getTeamParams(HWTeam team) const; |
48 list<HWTeam> getPlayingTeams() const; |
47 list<HWTeam> getPlayingTeams() const; |
49 |
48 |
50 signals: |
49 public slots: |
51 void NewTeam(); |
50 void addTeam(HWTeam team, bool netTeam=false); |
52 |
51 |
53 private slots: |
52 signals: |
|
53 void NewTeam(); |
|
54 void teamWillPlay(HWTeam team); |
|
55 |
|
56 private slots: |
54 void changeTeamStatus(HWTeam team); |
57 void changeTeamStatus(HWTeam team); |
55 void newTeamClicked(); |
58 void newTeamClicked(); |
56 |
59 |
57 private: |
60 private: |
58 void addScrArea(FrameTeams* pfteams, QColor color, int maxHeight); |
61 void addScrArea(FrameTeams* pfteams, QColor color, int maxHeight); |