equal
deleted
inserted
replaced
205 KeyboardLayoutKind keyboard_kind; |
205 KeyboardLayoutKind keyboard_kind; |
206 UInt32 keyboard_dead; |
206 UInt32 keyboard_dead; |
207 KeyboardLayoutItem *keyLayout[256]; |
207 KeyboardLayoutItem *keyLayout[256]; |
208 #elif defined(Q_WS_QWS) |
208 #elif defined(Q_WS_QWS) |
209 #elif defined(Q_OS_SYMBIAN) |
209 #elif defined(Q_OS_SYMBIAN) |
210 private: |
|
211 QHash<TUint, int> s60ToQtKeyMap; |
|
212 void fillKeyMap(); |
|
213 public: |
210 public: |
214 QString translateKeyEvent(int keySym, Qt::KeyboardModifiers modifiers); |
211 QString translateKeyEvent(int keySym, Qt::KeyboardModifiers modifiers); |
215 int mapS60KeyToQt(TUint s60key); |
212 int mapS60KeyToQt(TUint s60key); |
|
213 int mapS60ScanCodesToQt(TUint s60key); |
|
214 int mapQtToS60Key(int qtKey); |
|
215 int mapQtToS60ScanCodes(int qtKey); |
216 #endif |
216 #endif |
217 }; |
217 }; |
218 |
218 |
219 QKeyMapperPrivate *qt_keymapper_private(); // from qkeymapper.cpp |
219 QKeyMapperPrivate *qt_keymapper_private(); // from qkeymapper.cpp |
220 |
220 |