more stuff from the schönen künste
[multypo.git] / qt / player.h
index 4674255dabdf7fd9bfabe4d2b249761872e94b10..0facdd5478ded4f3f0de4bbcecc46afa5a1d051a 100644 (file)
@@ -10,13 +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