summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-04-26 16:41:15 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-04-27 13:40:16 (GMT)
commitd8b933084ecc6ded6689f71ea6ca2e5fd339faf3 (patch)
treeed1640fc9413dafe3e6b5927c14a9847d46f3833 /src/gui/accessible
parentc3ebd1d38826739cb989e65770d2a22b9a39dcc4 (diff)
downloadQt-d8b933084ecc6ded6689f71ea6ca2e5fd339faf3.zip
Qt-d8b933084ecc6ded6689f71ea6ca2e5fd339faf3.tar.gz
Qt-d8b933084ecc6ded6689f71ea6ca2e5fd339faf3.tar.bz2
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
Diffstat (limited to 'src/gui/accessible')
-rw-r--r--src/gui/accessible/qaccessible.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/accessible/qaccessible.h b/src/gui/accessible/qaccessible.h
index 871ca58..1e9e55e 100644
--- a/src/gui/accessible/qaccessible.h
+++ b/src/gui/accessible/qaccessible.h
@@ -111,8 +111,8 @@ public:
TableSummaryChanged,
TextAttributeChanged,
TextCaretMoved,
- TextChanged,
- TextColumnChanged,
+ // TextChanged, deprecated, use TextUpdated
+ TextColumnChanged = TextCaretMoved + 2,
TextInserted,
TextRemoved,
TextUpdated,