summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcommandlineparser.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2015-11-10 16:01:01 +0100
committerTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-03-21 16:26:27 +0000
commit68987d5454a347807c227ba3e2e2db3e050911df (patch)
tree1875d76a306dc17f11ec167d41db8af151ed6646 /src/corelib/tools/qcommandlineparser.cpp
parent820e69d6c214f95e6db101c6e7caf28b0a248c69 (diff)
Cocoa: Forward rejected key events.
Forward rejected key events to the next responder by checking the return value from QWindowSystemInterface and calling the superclass event handler. This is useful when Qt is running as a plugin in a host application; the host can now react to key events even if Qt has focus. Qt will often not accept keyUp events, even if the corresponding keyDown was accepted, for example in the case of text controls. We don't want to forward 'bare' keyUps, so keep track of which keyDowns have been seen. Change-Id: I976448a5d305a657a0e91aeb271b158f8b598286 Task-number: QTBUG-45768 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions