--- a/QTfrontend/team.h Sat May 26 16:50:51 2012 -0400
+++ b/QTfrontend/team.h Sun May 27 23:42:43 2012 +0400
@@ -63,7 +63,8 @@
// attribute getters
unsigned int campaignProgress() const;
- QColor color() const;
+ int color() const;
+ QColor qcolor() const;
unsigned int difficulty() const;
QString flag() const;
QString fort() const;
@@ -78,7 +79,6 @@
// attribute setters
void bindKey(unsigned int idx, const QString & key);
- void setColor(const QColor & color);
void setDifficulty(unsigned int level);
void setFlag(const QString & flag);
void setFort(const QString & fort);
@@ -100,6 +100,8 @@
bool operator < (const HWTeam& t1) const;
HWTeam & operator = (const HWTeam & other);
+public slots:
+ void setColor(int color);
private:
@@ -117,7 +119,7 @@
// class members that contain info for the current game setup
quint8 m_numHedgehogs;
- QColor m_color;
+ int m_color;
bool m_isNetTeam;
QString m_owner;