grab all keyboard focuses on startup
[multypo.git] / qt / multypo.h
1 #ifndef MULTIKBD_H
2 #define MULTIKBD_H
3
4 #include <QWidget>
5
6 class QLabel;
7
8 class MultypoWindow : public QWidget
9 {
10         Q_OBJECT
11         
12 public:
13         explicit MultypoWindow(QWidget *parent = 0);
14         ~MultypoWindow();
15
16         bool handleX11Event(XEvent *event);
17
18 private:
19         void handleKeyPress(int device, QString string);
20
21 private:
22         bool xiInited;
23         int xiOpcode;
24         QLabel *mainLabel;
25 };
26
27 #endif // MULTIKBD_H