projects
/
multypo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
de0898fd530fa335bbe2804359671cc247d21535
[multypo.git]
/
qt
/
multypo.h
1
#ifndef MULTIKBD_H
2
#define MULTIKBD_H
3
4
#include <QWidget>
5
#include <QMap>
6
7
#include "player.h"
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, Player*> players;
28
};
29
30
#endif // MULTIKBD_H