Pass Qt::ImQueryInput instead of Qt::CursorRectangle in QSgItem::updateMicroFocus...
authorJoona Petrell <joona.t.petrell@nokia.com>
Mon, 12 Sep 2011 18:48:40 +0000 (21:48 +0300)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Sep 2011 08:22:43 +0000 (10:22 +0200)
commit133e9ef8774ddfb7c6f2ced2c4dc40efde8573d5
tree3ae7c98dc85f97d4a6f1d61274f8f223ac294941
parent6c17d70400e21127804bfafa7316e924cba551a2
Pass Qt::ImQueryInput instead of Qt::CursorRectangle in QSgItem::updateMicroFocus function

QPlatformInputContext::update() function takes QInputMethodQueries flag as a parameter.
When cursor rectangle changes many input method query attributes like
cursor rectangle, cursor position, surrounding text, current selection and a
position change as well. New composite query ImQueryInput encapsulates this.

Change-Id: I83b17507f22fcbec0d8ed50588c67794d62f9495
Reviewed-on: http://codereview.qt-project.org/4741
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/declarative/items/qsgitem.cpp