Fix TextInput and TextEdit inputMethodComposing autotests
authorJoona Petrell <joona.t.petrell@nokia.com>
Wed, 28 Sep 2011 14:47:19 +0000 (17:47 +0300)
committerQt by Nokia <qt-info@nokia.com>
Thu, 29 Sep 2011 06:31:26 +0000 (08:31 +0200)
commitdc2935cbb0852c23804d894bef0e2a56b343b089
treedadc4e59f439ab56b1a636d32f74b443c455a8c1
parent65f07f3b95408b0a85590571118dd59a4171a9a2
Fix TextInput and TextEdit inputMethodComposing autotests

In old QInputContext architecture events were send to focus
widget, which delivered the events to the text editor items.
In Qt5, input methods send events directly to the editor
object using QInputPanel::inputItem().

Task-number: QTBUG-21691

Change-Id: Ia219f0cc7caaeafc32f5d7674a6ab377e773d4fa
Reviewed-on: http://codereview.qt-project.org/5741
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
tests/auto/declarative/qsgtextedit/tst_qsgtextedit.cpp
tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp