equal
deleted
inserted
replaced
1 #ifndef KEYCAPTURINGAPPLICATION_H |
|
2 #define KEYCAPTURINGAPPLICATION_H |
|
3 |
|
4 #include <HbApplication> |
|
5 |
|
6 class KeyCapturingApplication : public HbApplication |
|
7 { |
|
8 |
|
9 Q_OBJECT |
|
10 |
|
11 signals: |
|
12 |
|
13 void capturedKeyEvent(); |
|
14 |
|
15 public: |
|
16 |
|
17 KeyCapturingApplication(int &argc, char *argv[], int keyCode); |
|
18 ~KeyCapturingApplication(); |
|
19 virtual bool symbianEventFilter(const QSymbianEvent *event); |
|
20 |
|
21 private: |
|
22 |
|
23 int mKeyCode; |
|
24 int mKeyCaptureHandle; |
|
25 |
|
26 }; |
|
27 |
|
28 #endif // KEYCAPTURINGAPPLICATION_H |
|