projects
/
multypo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d7fd3c9d9605e5548cf92c63ceed0946378ab5b0
[multypo.git]
/
qt
/
multikbd.h
1
#ifndef MULTIKBD_H
2
#define MULTIKBD_H
3
4
#include <QWidget>
5
6
namespace Ui {
7
class MultiKBD;
8
}
9
10
class MultiKBD : public QWidget
11
{
12
Q_OBJECT
13
14
public:
15
explicit MultiKBD(QWidget *parent = 0);
16
~MultiKBD();
17
18
bool handleX11Event(XEvent *event);
19
20
protected:
21
virtual void showEvent (QShowEvent *);
22
23
private:
24
void handleKeyPress(int device, const char *string);
25
26
private:
27
Ui::MultiKBD *ui;
28
bool xiInited;
29
int xiOpcode;
30
};
31
32
#endif // MULTIKBD_H