Emit selectionChanged signals when input method alters selection.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 25 Jul 2011 06:58:46 +0000 (16:58 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jul 2011 09:02:16 +0000 (11:02 +0200)
commit4f59b5b5308011fdc4bb08bc179d5298077fd9ad
tree524fb6b07d89c5ecc4c76cbe27c365e077d70ebc
parenta7860d8bf18d1330718fd0dfdc694c92ec69f069
Emit selectionChanged signals when input method alters selection.

Mark the selection as dirty if an input method event contains a
selection and emit selectionChanged() if it's not emitted by
finishChange().

Task-number: QTBUG-19731

Change-Id: Ief6f06f40071f64dae4db0ba365676c059a39c7e
Reviewed-on: http://codereview.qt.nokia.com/2081
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/gui/widgets/qlinecontrol.cpp
tests/auto/qlineedit/tst_qlineedit.cpp