projects
/
multypo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
49b70b1bdf7d079d5252c97c81743e8245809d92
[multypo.git]
/
qt
/
multypo.h
1
#ifndef MULTIKBD_H
2
#define MULTIKBD_H
3
4
#include <QWidget>
5
#include <QMap>
6
7
class QLabel;
8
9
class MultypoWindow : public QWidget
10
{
11
Q_OBJECT
12
13
public:
14
explicit MultypoWindow(QWidget *parent = 0);
15
~MultypoWindow();
16
17
bool handleX11Event(XEvent *event);
18
19
private:
20
void handleKeyPress(int device, QString string);
21
22
private:
23
bool xiInited;
24
int xiOpcode;
25
QLabel *mainLabel;
26
27
QMap<int, QLabel*> players;
28
};
29
30
#endif // MULTIKBD_H