projects
/
qzeecontrol
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add first stub of adapter for sending X keyboard events.
[qzeecontrol]
/
xtstadapter.h
1
#ifndef XTSTADAPTER_H
2
#define XTSTADAPTER_H
3
4
#include <QObject>
5
6
#include <X11/extensions/XTest.h>
7
#include <X11/Xlib.h>
8
9
class XtstAdapter : public QObject
10
{
11
Q_OBJECT
12
public:
13
explicit XtstAdapter(QObject *parent = 0)
14
: QObject(parent){
15
display = XOpenDisplay(0);
16
}
17
18
signals:
19
20
public slots:
21
22
private:
23
Display *display;
24
25
26
};
27
28
#endif // XTSTADAPTER_H