projects
/
multypo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c74413cd1831840162e0f9ceca6daeb13e96ba70
[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
bool handleKey(QString); /* returns whether a char was added */
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