X-Git-Url: https://git.ralfj.de/multypo.git/blobdiff_plain/9892f674393394ef97f5f9dad6a9e4e435f771ed..e52cebeda021cf4e76330eabd3777ec6136720d3:/qt/multypo.h?ds=inline diff --git a/qt/multypo.h b/qt/multypo.h index 49b70b1..1a088bd 100644 --- a/qt/multypo.h +++ b/qt/multypo.h @@ -3,8 +3,9 @@ #include #include +#include -class QLabel; +#include "player.h" class MultypoWindow : public QWidget { @@ -18,13 +19,17 @@ public: private: void handleKeyPress(int device, QString string); + void nextWord(); + void resetPlayerText(); private: bool xiInited; int xiOpcode; + bool gameStarted; QLabel *mainLabel; - - QMap players; + QFile words; + QMap players; + int typingPlayers; // how many are not ready yet }; #endif // MULTIKBD_H