QTfrontend/ui/widget/frameTeam.h
changeset 6616 f77bb02b669f
parent 6060 fdfc01419815
child 6700 e04da46ee43c
--- 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<QColor> availableColors;
-  QList<QColor>::Iterator currentColor;
+    private:
+        const int maxHedgehogsPerGame;
+        int overallHedgehogs;
+        QList<QColor> availableColors;
+        QList<QColor>::Iterator currentColor;
 
-  void emitTeamColorChanged(const HWTeam& team);
+        void emitTeamColorChanged(const HWTeam& team);
 
-  QVBoxLayout mainLayout;
-  typedef QMap<HWTeam, QWidget*> tmapTeamToWidget;
-  tmapTeamToWidget teamToWidget;
-  bool nonInteractive;
+        QVBoxLayout mainLayout;
+        typedef QMap<HWTeam, QWidget*> tmapTeamToWidget;
+        tmapTeamToWidget teamToWidget;
+        bool nonInteractive;
 };
 
 #endif // _FRAME_TAM_INCLUDED