X-Git-Url: https://git.ralfj.de/multypo.git/blobdiff_plain/036922ba5e90ae7f6f6abe3f99b1783dec5132fc..9c1e7f79952d5e4f6c8c38bb71e1c7c4dc6a3d01:/qt/player.h?ds=inline diff --git a/qt/player.h b/qt/player.h index f725069..0facdd5 100644 --- a/qt/player.h +++ b/qt/player.h @@ -10,9 +10,17 @@ private: QString name; QString currentLine; QLabel* theLabel; + bool modifyable; 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 setWaiting(QString labeltext); + + int score; }; #endif // PLAYER_H