Diffstat (limited to 'development/keyview/keyview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | development/keyview/keyview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/development/keyview/keyview.h b/development/keyview/keyview.h index ab4ae60..5f1e943 100644 --- a/development/keyview/keyview.h +++ b/development/keyview/keyview.h | |||
@@ -1,43 +1,43 @@ | |||
1 | #ifndef KEYVIEW_H | 1 | #ifndef KEYVIEW_H |
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 | ||
8 | class Keyview : public QGrid | 8 | class Keyview : public QGrid |
9 | { | 9 | { |
10 | Q_OBJECT | 10 | Q_OBJECT |
11 | 11 | ||
12 | public: | 12 | public: |
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 | ||
16 | private slots: | 16 | private slots: |
17 | void updateItems(int, int, int, bool, bool); | 17 | void updateItems(int, int, int, bool, bool); |
18 | 18 | ||
19 | private: | 19 | private: |
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 | 26 | ||
27 | }; | 27 | }; |
28 | 28 | ||
29 | class KeyFilter : public QObject, public QWSServer::KeyboardFilter | 29 | class KeyFilter : public QObject, public QWSServer::KeyboardFilter |
30 | { | 30 | { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | 32 | ||
33 | public: | 33 | public: |
34 | KeyFilter( QObject* parent, const char* name = 0); | 34 | KeyFilter( QObject* parent, const char* name = 0); |
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 | ||
38 | signals: | 38 | signals: |
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 |