Maliit: Fix enter on VKB not resulting in text input field acceptance
authorSimon Hausmann <simon.hausmann@nokia.com>
Tue, 31 Jan 2012 11:28:52 +0000 (12:28 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 31 Jan 2012 18:57:33 +0000 (19:57 +0100)
commitfe7265a0bbe4da9577fecd8cb9be22262523f65b
tree8b0e57722b1eee8f1f5e5aaba07079cfd513b416
parentb27bf9bb94ff40b7e4f69d7f0cb606e12baa2fe2
Maliit: Fix enter on VKB not resulting in text input field acceptance

Pressing enter on the VKB should result in the emission of the accepted()
for text input fields in QML or the returnPressed() signal in QLineEdit.
In that case the Maliit input server calls our keyEvent method over DBus,
which this patch implements.

Change-Id: I46170c30315adaf21db0e232f53780ccaa67e4bf
Reviewed-by: Jan Arne Petersen <jpetersen@openismus.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.cpp
src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.h