projects
/
multypo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0244467e59634094cc349252ea509d67d43fe1c5
[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, QString string);
25
26
private:
27
Ui::MultiKBD *ui;
28
bool xiInited;
29
int xiOpcode;
30
};
31
32
#endif // MULTIKBD_H