projects
/
multypo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more stuff from the schönen künste
[multypo.git]
/
qt
/
player.h
diff --git
a/qt/player.h
b/qt/player.h
index 4674255dabdf7fd9bfabe4d2b249761872e94b10..0facdd5478ded4f3f0de4bbcecc46afa5a1d051a 100644
(file)
--- a/
qt/player.h
+++ b/
qt/player.h
@@
-10,13
+10,17
@@
private:
QString name;
QString currentLine;
QLabel* theLabel;
QString name;
QString currentLine;
QLabel* theLabel;
+ bool modifyable;
public:
Player(QWidget* parent);
public:
Player(QWidget* parent);
- void handleKey(QString);
+ bool handleKey(QString); /* returns whether a char was added */
void resetText();
bool hasName();
QString getName();
QString getCurrentLine();
void resetText();
bool hasName();
QString getName();
QString getCurrentLine();
+ void setWaiting(QString labeltext);
+
+ int score;
};
#endif // PLAYER_H
};
#endif // PLAYER_H