diff -r 29b477319854 -r 3c3dc6a148ca QTfrontend/teamselhelper.cpp --- a/QTfrontend/teamselhelper.cpp Sun Jul 16 08:13:51 2006 +0000 +++ b/QTfrontend/teamselhelper.cpp Thu Jul 20 20:11:32 2006 +0000 @@ -1,32 +1,30 @@ -#include "teamselhelper.h" - -#include -#include - -#include - -void TeamLabel::teamButtonClicked() -{ - emit teamActivated(text()); -} - -TeamShowWidget::TeamShowWidget(tmprop team, QWidget * parent) : - QWidget(parent), mainLayout(this), m_team(team) -{ - QLabel* pixlbl=new QLabel(); - pixlbl->setPixmap(QPixmap("./Data/Graphics/thinking.png")); - mainLayout.addWidget(pixlbl); - - TeamLabel* lbl=new TeamLabel(team.teamName); - mainLayout.addWidget(lbl); - - QPushButton* butt=new QPushButton("o"); - mainLayout.addWidget(butt); - - QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam())); -} - -void TeamShowWidget::activateTeam() -{ - emit teamStatusChanged(m_team); -} +#include "teamselhelper.h" + +#include +#include + +void TeamLabel::teamButtonClicked() +{ + emit teamActivated(text()); +} + +TeamShowWidget::TeamShowWidget(tmprop team, QWidget * parent) : + QWidget(parent), mainLayout(this), m_team(team) +{ + QLabel* pixlbl=new QLabel(); + pixlbl->setPixmap(QPixmap("./Data/Graphics/thinking.png")); + mainLayout.addWidget(pixlbl); + + TeamLabel* lbl=new TeamLabel(team.teamName); + mainLayout.addWidget(lbl); + + QPushButton* butt=new QPushButton("o"); + mainLayout.addWidget(butt); + + QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam())); +} + +void TeamShowWidget::activateTeam() +{ + emit teamStatusChanged(m_team); +}