33 curPlayingTeams.push_back(team); |
33 curPlayingTeams.push_back(team); |
34 connect(framePlaying->getTeamWidget(team), SIGNAL(teamStatusChanged(HWTeam)), |
34 connect(framePlaying->getTeamWidget(team), SIGNAL(teamStatusChanged(HWTeam)), |
35 this, SLOT(netTeamStatusChanged(const HWTeam&))); |
35 this, SLOT(netTeamStatusChanged(const HWTeam&))); |
36 connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)), |
36 connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)), |
37 this, SLOT(hhNumChanged(const HWTeam&))); |
37 this, SLOT(hhNumChanged(const HWTeam&))); |
|
38 dynamic_cast<TeamShowWidget*>(framePlaying->getTeamWidget(team))->hhNumChanged(); |
38 connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)), |
39 connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)), |
39 this, SLOT(proxyTeamColorChanged(const HWTeam&))); |
40 this, SLOT(proxyTeamColorChanged(const HWTeam&))); |
40 } else { |
41 } else { |
41 frameDontPlaying->addTeam(team, false); |
42 frameDontPlaying->addTeam(team, false); |
42 curDontPlayingTeams.push_back(team); |
43 curDontPlayingTeams.push_back(team); |
157 this, SLOT(changeTeamStatus(HWTeam))); |
158 this, SLOT(changeTeamStatus(HWTeam))); |
158 } |
159 } |
159 if(willBePlaying) { |
160 if(willBePlaying) { |
160 connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)), |
161 connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)), |
161 this, SLOT(hhNumChanged(const HWTeam&))); |
162 this, SLOT(hhNumChanged(const HWTeam&))); |
|
163 dynamic_cast<TeamShowWidget*>(framePlaying->getTeamWidget(team))->hhNumChanged(); |
162 connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)), |
164 connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)), |
163 this, SLOT(proxyTeamColorChanged(const HWTeam&))); |
165 this, SLOT(proxyTeamColorChanged(const HWTeam&))); |
164 emit teamColorChanged(((TeamShowWidget*)framePlaying->getTeamWidget(team))->getTeam()); |
166 emit teamColorChanged(((TeamShowWidget*)framePlaying->getTeamWidget(team))->getTeam()); |
165 } |
167 } |
166 |
168 |