diff -r 65602f1ef0f8 -r f77bb02b669f QTfrontend/ui/widget/frameTeam.h --- a/QTfrontend/ui/widget/frameTeam.h Mon Jan 30 23:20:28 2012 +0100 +++ b/QTfrontend/ui/widget/frameTeam.h Mon Jan 30 17:32:18 2012 -0500 @@ -28,41 +28,41 @@ class FrameTeams : public QFrame { - Q_OBJECT + Q_OBJECT - friend class CHedgehogerWidget; - friend class TeamShowWidget; + friend class CHedgehogerWidget; + friend class TeamShowWidget; - public: - FrameTeams(QWidget* parent=0); - QWidget* getTeamWidget(HWTeam team); - bool isFullTeams() const; - void resetColors(); - void resetTeams(); - void setHHNum(const HWTeam& team); - void setTeamColor(const HWTeam& team); - void setInteractivity(bool interactive); - QColor getNextColor() const; + public: + FrameTeams(QWidget* parent=0); + QWidget* getTeamWidget(HWTeam team); + bool isFullTeams() const; + void resetColors(); + void resetTeams(); + void setHHNum(const HWTeam& team); + void setTeamColor(const HWTeam& team); + void setInteractivity(bool interactive); + QColor getNextColor() const; - signals: - void teamColorChanged(const HWTeam&); + signals: + void teamColorChanged(const HWTeam&); - public slots: - void addTeam(HWTeam team, bool willPlay); - void removeTeam(HWTeam team); + public slots: + void addTeam(HWTeam team, bool willPlay); + void removeTeam(HWTeam team); - private: - const int maxHedgehogsPerGame; - int overallHedgehogs; - QList availableColors; - QList::Iterator currentColor; + private: + const int maxHedgehogsPerGame; + int overallHedgehogs; + QList availableColors; + QList::Iterator currentColor; - void emitTeamColorChanged(const HWTeam& team); + void emitTeamColorChanged(const HWTeam& team); - QVBoxLayout mainLayout; - typedef QMap tmapTeamToWidget; - tmapTeamToWidget teamToWidget; - bool nonInteractive; + QVBoxLayout mainLayout; + typedef QMap tmapTeamToWidget; + tmapTeamToWidget teamToWidget; + bool nonInteractive; }; #endif // _FRAME_TAM_INCLUDED