projects
/
multypo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
there are players now :-) every game is better with players
[multypo.git]
/
qt
/
multypo.h
diff --git
a/qt/multypo.h
b/qt/multypo.h
index 400d4c995eb848d19bbfeebf13d75d4bbbad6481..de0898fd530fa335bbe2804359671cc247d21535 100644
(file)
--- a/
qt/multypo.h
+++ b/
qt/multypo.h
@@
-2,6
+2,9
@@
#define MULTIKBD_H
#include <QWidget>
#define MULTIKBD_H
#include <QWidget>
+#include <QMap>
+
+#include "player.h"
class MultypoWindow : public QWidget
{
class MultypoWindow : public QWidget
{
@@
-13,15
+16,15
@@
public:
bool handleX11Event(XEvent *event);
bool handleX11Event(XEvent *event);
-protected:
- virtual void showEvent (QShowEvent *);
-
private:
void handleKeyPress(int device, QString string);
private:
bool xiInited;
int xiOpcode;
private:
void handleKeyPress(int device, QString string);
private:
bool xiInited;
int xiOpcode;
+ QLabel *mainLabel;
+
+ QMap<int, Player*> players;
};
#endif // MULTIKBD_H
};
#endif // MULTIKBD_H