QTfrontend/teamselhelper.h
changeset 372 4bac77f8cd38
parent 362 b28e0dd48269
child 486 7ea71cd3acd5
--- a/QTfrontend/teamselhelper.h	Sat Jan 27 14:18:33 2007 +0000
+++ b/QTfrontend/teamselhelper.h	Sat Jan 27 17:41:08 2007 +0000
@@ -46,15 +46,19 @@
 {
  Q_OBJECT
 
+ public slots:
+ void changeTeamColor(QColor color=QColor());
+
  private slots:
  void activateTeam();
- void changeTeamColor();
+ void hhNumChanged();
 
  public:
  TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent);
  void setPlaying(bool isPlaying);
  void setHHNum(unsigned int num);
  void setNonInteractive();
+ HWTeam getTeam() const;
 
  private:
  TeamShowWidget();
@@ -66,12 +70,10 @@
  QPushButton* butt;
  QPushButton* bText;
 
- private slots:
-  void hhNumChanged();
-
  signals:
  void teamStatusChanged(HWTeam team);
  void hhNmChanged(const HWTeam&);
+ void teamColorChanged(const HWTeam&);
 };
 
 #endif // _TEAMSEL_HELPER_INCLUDED