--- a/QTfrontend/frameTeam.h Sat Sep 16 15:15:30 2006 +0000
+++ b/QTfrontend/frameTeam.h Sat Sep 16 17:24:41 2006 +0000
@@ -10,15 +10,20 @@
{
Q_OBJECT
+ friend class CHedgehogerWidget;
+
public:
FrameTeams(QWidget* parent=0);
QWidget* getTeamWidget(HWTeam team);
+ bool isFullTeams() const;
public slots:
void addTeam(HWTeam team, bool willPlay);
void removeTeam(HWTeam team);
private:
+ const int maxHedgehogsPerGame;
+ int overallHedgehogs;
QVBoxLayout mainLayout;
typedef map<HWTeam, QWidget*> tmapTeamToWidget;
tmapTeamToWidget teamToWidget;