projects
/
multypo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add per-device output label
[multypo.git]
/
qt
/
multypo.h
diff --git
a/qt/multypo.h
b/qt/multypo.h
index f10a5d40e947d17b2a205a2340857529eef82815..49b70b1bdf7d079d5252c97c81743e8245809d92 100644
(file)
--- a/
qt/multypo.h
+++ b/
qt/multypo.h
@@
-2,6
+2,7
@@
#define MULTIKBD_H
#include <QWidget>
#define MULTIKBD_H
#include <QWidget>
+#include <QMap>
class QLabel;
class QLabel;
@@
-15,9
+16,6
@@
public:
bool handleX11Event(XEvent *event);
bool handleX11Event(XEvent *event);
-protected:
- virtual void showEvent (QShowEvent *);
-
private:
void handleKeyPress(int device, QString string);
private:
void handleKeyPress(int device, QString string);
@@
-25,6
+23,8
@@
private:
bool xiInited;
int xiOpcode;
QLabel *mainLabel;
bool xiInited;
int xiOpcode;
QLabel *mainLabel;
+
+ QMap<int, QLabel*> players;
};
#endif // MULTIKBD_H
};
#endif // MULTIKBD_H