improved counters

This commit is contained in:
Max-Wilhelm Bruker 2009-04-13 17:54:18 +02:00
parent 939ab62273
commit 3388804e8f
18 changed files with 158 additions and 80 deletions

View file

@ -25,9 +25,10 @@
class Counter {
protected:
QString name;
int color;
int count;
public:
Counter(QString _name, int _count = 0) : name(_name), count(_count) { }
Counter(QString _name, int _color, int _count = 0) : name(_name), color(_color), count(_count) { }
~Counter() { }
int getCount() { return count; }
void setCount(int _count) { count = _count; }