diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2015-04-22 13:39:39 +0300 |
---|---|---|
committer | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2015-05-12 07:17:25 +0000 |
commit | 1f03520a20eb8d2a7236075c71b354b21a32b2a2 (patch) | |
tree | d24ce08112717cd14b09b1d38f06c0fe49e2f821 /examples/widgets/mainwindows/mainwindow/mainwindow.cpp | |
parent | 5891f90846738e732b88e0eebfc4fa1eeae7e2c0 (diff) |
Add a way to filter window system events
This change introduces the class QWindowSystemEventHandler
which can be used to hook into QWindowSystemInterfacePrivate to
filter and dispatch window system events.
One use case is to intercept key events from the underlying system
in QtCompositor and feed them into the xkbcommon state, and to modify
the events based on the resulting state.
Change-Id: I829eb7d960420135990fb0f6db54c14eea3e8e48
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'examples/widgets/mainwindows/mainwindow/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions