path: root/src/gui/accessible/qplatformaccessibility_qpa.h
diff options
authorFrederik Gladhorn <>2012-01-11 16:31:35 +0100
committerQt by Nokia <>2012-01-31 12:02:33 +0100
commitbf9bdf5328172db65aafaee74d8fb9cbeaa9cc16 (patch)
tree666ab14504b421d34f269b8ffd7a4f7210bbd133 /src/gui/accessible/qplatformaccessibility_qpa.h
parentcf52c268b036d808901313acc554587465bdd746 (diff)
Use events for accessibility updates.
The problem with the old updates is that it was impossible to send details about the update. For the Linux implementation to work properly with AT-SPI I need to know which state changed (currently I only get a generic "state changed" event) or which part of the text was changed for long texts (imagine a word processor sending updates). This also gives us more options when updating with events generated from not QObject based objects. Change-Id: If0b6c83c523092565eb48e79f3f6de5a1b905ea8 Reviewed-by: Jan-Arve Sæther <>
Diffstat (limited to 'src/gui/accessible/qplatformaccessibility_qpa.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/accessible/qplatformaccessibility_qpa.h b/src/gui/accessible/qplatformaccessibility_qpa.h
index 22bb6651b1..364f87b0c9 100644
--- a/src/gui/accessible/qplatformaccessibility_qpa.h
+++ b/src/gui/accessible/qplatformaccessibility_qpa.h
@@ -57,7 +57,7 @@ public:
virtual ~QPlatformAccessibility();
- virtual void notifyAccessibilityUpdate(QObject *o, int who, QAccessible::Event reason);
+ virtual void notifyAccessibilityUpdate(const QAccessibleEvent &event);
virtual void setRootObject(QObject *o);
virtual void initialize();
virtual void cleanup();