--- a/QTfrontend/frameTeam.h Sat Jan 27 14:18:33 2007 +0000
+++ b/QTfrontend/frameTeam.h Sat Jan 27 17:41:08 2007 +0000
@@ -39,8 +39,12 @@
bool isFullTeams() const;
void resetColors();
void setHHNum(const HWTeam& team);
+ void setTeamColor(const HWTeam& team);
void setNonInteractive();
+ signals:
+ void teamColorChanged(const HWTeam&);
+
public slots:
void addTeam(HWTeam team, bool willPlay);
void removeTeam(HWTeam team);
@@ -51,6 +55,8 @@
QList<QColor> availableColors;
QList<QColor>::Iterator currentColor;
+ void emitTeamColorChanged(const HWTeam& team);
+
QVBoxLayout mainLayout;
typedef QMultiMap<HWTeam, QWidget*> tmapTeamToWidget;
tmapTeamToWidget teamToWidget;