diff -r b95fd124cb09 -r b8905423f19f QTfrontend/teamselect.h --- a/QTfrontend/teamselect.h Sun Jan 07 22:54:08 2007 +0000 +++ b/QTfrontend/teamselect.h Mon Jan 08 18:21:40 2007 +0000 @@ -21,7 +21,6 @@ #include #include -class QFrame; #include #include @@ -30,6 +29,8 @@ class TeamSelWidget; class FrameTeams; +class QFrame; +class QPushButton; using namespace std; @@ -46,15 +47,20 @@ HWTeamTempParams getTeamParams(HWTeam team) const; list getPlayingTeams() const; + signals: + void NewTeam(); + private slots: void changeTeamStatus(HWTeam team); + void newTeamClicked(); private: - void addScrArea(FrameTeams* pfteams, QColor color); + void addScrArea(FrameTeams* pfteams, QColor color, int maxHeight); FrameTeams* frameDontPlaying; FrameTeams* framePlaying; QVBoxLayout mainLayout; + QPushButton * newTeam; list curPlayingTeams; list curDontPlayingTeams;