]> git.ralfj.de Git - multypo.git/blobdiff - qt/player.h
more stuff from the schönen künste
[multypo.git] / qt / player.h
index f7250699e30f7c847d3d9fe14462e7d04a01daed..0facdd5478ded4f3f0de4bbcecc46afa5a1d051a 100644 (file)
@@ -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