Make QLineControl send accessibility updates.
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>
Tue, 26 Apr 2011 16:41:15 +0000 (18:41 +0200)
committerThierry Bastian <thierry.bastian@nokia.com>
Thu, 12 May 2011 13:58:43 +0000 (15:58 +0200)
commitbf3ff1eee48c10ec2659e596ec4707a5932de000
tree75a87ebb1e04fbfa3d4c6db2eb581f100d051d93
parent365f4a0f9bbb437880fee7bd9b3964b7c7ece472
Make QLineControl send accessibility updates.

To make it emit the signals for the right object, it needs its parent to
be the QGraphicsItem/SGItem/QLineEdit.
According to IA2 it should emit TextUpdated and CursorMoved signals.
TextChanged is deprecated.
More fine grained signals would be desireable but this makes changes work at all.

Reviewed-by: Morten Sorvig
src/declarative/graphicsitems/qdeclarativetextinput.cpp
src/declarative/graphicsitems/qdeclarativetextinput_p_p.h