projects
/
multypo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0facdd5478ded4f3f0de4bbcecc46afa5a1d051a
[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
void setWaiting(QString labeltext);
22
23
int score;
24
};
25
26
#endif // PLAYER_H