summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible/qaccessible.h
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-04-26 18:41:15 +0200
committerThierry Bastian <thierry.bastian@nokia.com>2011-05-12 15:59:33 +0200
commit38ed8c2dddfe55c4a940adb534fa41ecae02af69 (patch)
tree234ad13c153be1b2548d88edfca00d2a7215f445 /src/gui/accessible/qaccessible.h
parent1625b25a9f172254c9121a66df9f9e9acaaf89fd (diff)
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/qaccessible.h')
-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 871ca58995..1e9e55e16f 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,