7b782839457f777f03543d7702965ae2a3db6443
[multypo.git] / qt / player.h
1 #ifndef PLAYER_H
2 #define PLAYER_H
3
4 #include <QString>
5 #include <QLabel>
6
7 class Player
8 {
9 private:
10         QString name;
11         QString currentLine;
12         QLabel* theLabel;
13         bool modifyable;
14 public:
15         Player(QWidget* parent);
16         void handleKey(QString);
17         void resetText();
18         bool hasName();
19         QString getName();
20         QString getCurrentLine();
21         int score;
22         void setWaiting(QString labeltext);
23 };
24
25 #endif // PLAYER_H