diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-06-01 11:00:58 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-06-01 11:01:32 +0200 |
commit | ead7c1c33c12a078638202b98be7081a4d008780 (patch) | |
tree | 41998b903cc31598ffc92c88d1b0a0788a30cc8a /src/plugins/platforms/xcb/qxcbkeyboard.h | |
parent | 646fcc1bd30ea9513b3d413f21677b2bbf947a4c (diff) |
Start using libxkbcommon in the xcb plug-in.
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbkeyboard.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbkeyboard.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbkeyboard.h b/src/plugins/platforms/xcb/qxcbkeyboard.h index 98e8c90d68..dcdbf0176e 100644 --- a/src/plugins/platforms/xcb/qxcbkeyboard.h +++ b/src/plugins/platforms/xcb/qxcbkeyboard.h @@ -70,6 +70,8 @@ private: QString translateKeySym(xcb_keysym_t keysym, uint xmodifiers, int &code, Qt::KeyboardModifiers &modifiers, QByteArray &chars, int &count); + void initXkb(); + void setMask(uint sym, uint mask); uint m_alt_mask; uint m_super_mask; @@ -79,6 +81,9 @@ private: uint m_num_lock_mask; xcb_key_symbols_t *m_key_symbols; +#ifndef QT_NO_XCB_XKB + struct xkb_desc *m_xkb; +#endif }; #endif |