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