diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-05-16 18:46:50 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-05-20 12:26:28 +0000 |
commit | da8ace713a19d2a8c9831ddf50d17607bc4856cc (patch) | |
tree | 2e48cee43e46de9ffad45f9b614529410cd35f42 /src/corelib/itemmodels | |
parent | f78ef9753c58587a5db292493b2c003a3e0a3144 (diff) |
QWidgetWindow: Forward incoming events with their original spontaneous state
The events may come from QPA, as spontaneous events, or from other parts
of Qt, as non-spontaneous events. We should keep the state of the original
event.
Introduces QCoreApplication::forwardEvent() as a wrapper around the
opaquely named notifyInternal2. Ideally this would be the behavior of
sendEvent, with an enum argument to override the flag, but that ship
has sailed.
Change-Id: Ib0209f2b99744bd10590c63239ee7a97b60be4fd
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/itemmodels')
0 files changed, 0 insertions, 0 deletions