--- a/QTfrontend/frameTeam.cpp Fri Aug 18 19:59:16 2006 +0000
+++ b/QTfrontend/frameTeam.cpp Fri Aug 18 20:37:50 2006 +0000
@@ -11,7 +11,7 @@
{
}
-void FrameTeams::addTeam(tmprop team)
+void FrameTeams::addTeam(HWTeam team)
{
TeamShowWidget* pTeamShowWidget =new TeamShowWidget(team, this);
// int hght=teamToWidget.empty() ? 0 : teamToWidget.begin()->second->size().height();
@@ -21,7 +21,7 @@
QCoreApplication::postEvent(parentWidget(), pevent);
}
-void FrameTeams::removeTeam(tmprop team)
+void FrameTeams::removeTeam(HWTeam team)
{
tmapTeamToWidget::iterator it=teamToWidget.find(team);
mainLayout.removeWidget(it->second);
@@ -29,7 +29,7 @@
teamToWidget.erase(team);
}
-QWidget* FrameTeams::getTeamWidget(tmprop team)
+QWidget* FrameTeams::getTeamWidget(HWTeam team)
{
tmapTeamToWidget::iterator it=teamToWidget.find(team);
QWidget* ret = it!=teamToWidget.end() ? it->second : 0;