Adapt to the input method changes in qtbase
authorLars Knoll <lars.knoll@nokia.com>
Wed, 7 Sep 2011 17:58:14 +0000 (19:58 +0200)
committerLars Knoll <lars.knoll@nokia.com>
Thu, 8 Sep 2011 08:33:31 +0000 (10:33 +0200)
commit70cc5c9b7b420ecaf099d5d08fb1b4e8ad81a920
tree104c52e5e150b4720a3759f0377366016cf1d03b
parent27fc1e1335a1b19f205fd5e08a1bd29dfebb2dee
Adapt to the input method changes in qtbase

Start using the QInputPanel instead of the QPlatformInputContext.
Make sure we do something with both QInputMethodEvent and
QInputMethodQueryEvent. This gets input methods partially
working on TextInput fields.

Change-Id: I4655f5599673325ffb75207573635afccd069a65
Reviewed-on: http://codereview.qt-project.org/4404
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Vesa Rantanen <vesa.rantanen@nokia.com>
Reviewed-by: Andy Nichols
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/declarative/items/qsgcanvas.cpp
src/declarative/items/qsgitem.cpp
src/declarative/items/qsgtextinput.cpp