diff -r 32fa6282efe2 -r 287077789132 QTfrontend/frameTeam.h --- a/QTfrontend/frameTeam.h Fri Oct 27 14:30:36 2006 +0000 +++ b/QTfrontend/frameTeam.h Fri Oct 27 19:37:59 2006 +0000 @@ -20,6 +20,8 @@ #define _FRAME_TEAM_INCLUDED #include +#include +#include #include "teamselect.h" #include @@ -29,11 +31,13 @@ Q_OBJECT friend class CHedgehogerWidget; + friend class TeamShowWidget; public: FrameTeams(QWidget* parent=0); QWidget* getTeamWidget(HWTeam team); bool isFullTeams() const; + void resetColors(); public slots: void addTeam(HWTeam team, bool willPlay); @@ -42,6 +46,9 @@ private: const int maxHedgehogsPerGame; int overallHedgehogs; + QList availableColors; + QList::Iterator currentColor; + QVBoxLayout mainLayout; typedef map tmapTeamToWidget; tmapTeamToWidget teamToWidget;