summaryrefslogtreecommitdiff
path: root/development/keyview/keyview.h
Unidiff
Diffstat (limited to 'development/keyview/keyview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--development/keyview/keyview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/keyview/keyview.h b/development/keyview/keyview.h
index 5f1e943..87c0d15 100644
--- a/development/keyview/keyview.h
+++ b/development/keyview/keyview.h
@@ -2,42 +2,42 @@
2#define KEYVIEW_H 2#define KEYVIEW_H
3#include <qgrid.h> 3#include <qgrid.h>
4#include <qlineedit.h> 4#include <qlineedit.h>
5#include <qwindowsystem_qws.h> 5#include <qwindowsystem_qws.h>
6 6
7 7
8class Keyview : public QGrid 8class Keyview : public QGrid
9{ 9{
10 Q_OBJECT 10 Q_OBJECT
11 11
12public: 12public:
13 Keyview( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 13 Keyview( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
14 ~Keyview(); 14 ~Keyview();
15 15
16private slots: 16private slots:
17 void updateItems(int, int, int, bool, bool); 17 void updateItems(int, int, int, bool, bool);
18 18
19private: 19private:
20 20
21 QLineEdit *unicode; 21 QLineEdit *unicode;
22 QLineEdit *keycode; 22 QLineEdit *keycode;
23 QLineEdit *modifiers; 23 QLineEdit *modifiers;
24 QLineEdit *isPress; 24 QLineEdit *isPress;
25 QLineEdit *autoRepeat; 25 QLineEdit *autoRepeat;
26
27}; 26};
28 27
29class KeyFilter : public QObject, public QWSServer::KeyboardFilter 28class KeyFilter : public QObject, public QWSServer::KeyboardFilter
30{ 29{
31 Q_OBJECT 30 Q_OBJECT
32 31
33public: 32public:
34 KeyFilter( QObject* parent, const char* name = 0); 33 KeyFilter( QObject* parent, const char* name = 0);
34 virtual ~KeyFilter();
35 virtual bool filter(int unicode, int keycode, int modifiers, bool isPress, 35 virtual bool filter(int unicode, int keycode, int modifiers, bool isPress,
36 bool autoRepeat); 36 bool autoRepeat);
37 37
38signals: 38signals:
39 void keyPressed(int, int, int, bool, bool); 39 void keyPressed(int, int, int, bool, bool);
40 40
41}; 41};
42 42
43#endif 43#endif