summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/qt5/QtAccessibleEventListener.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/vcl/qt5/QtAccessibleEventListener.cxx b/vcl/qt5/QtAccessibleEventListener.cxx
index 08b97b69c347..3febce8a587e 100644
--- a/vcl/qt5/QtAccessibleEventListener.cxx
+++ b/vcl/qt5/QtAccessibleEventListener.cxx
@@ -172,9 +172,19 @@ void QtAccessibleEventListener::notifyEvent(const css::accessibility::Accessible
QAccessible::updateAccessibility(
new QAccessibleEvent(pQAccessibleInterface, QAccessible::ForegroundChanged));
return;
+ case AccessibleEventId::VALUE_CHANGED:
+ {
+ QAccessibleValueInterface* pValueInterface = pQAccessibleInterface->valueInterface();
+ if (pValueInterface)
+ {
+ const QVariant aValue = pValueInterface->currentValue();
+ QAccessible::updateAccessibility(
+ new QAccessibleValueChangeEvent(pQAccessibleInterface, aValue));
+ }
+ return;
+ }
case AccessibleEventId::ROLE_CHANGED:
case AccessibleEventId::INVALIDATE_ALL_CHILDREN:
- case AccessibleEventId::VALUE_CHANGED:
case AccessibleEventId::CONTENT_FLOWS_FROM_RELATION_CHANGED:
case AccessibleEventId::CONTENT_FLOWS_TO_RELATION_CHANGED:
case AccessibleEventId::CONTROLLED_BY_RELATION_CHANGED: