summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-02-17 18:56:30 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-03-23 12:57:03 (GMT)
commite783275cfb71e7325472b3aea54e109a7a854bf7 (patch)
tree37bf367dddc3d3cae2d64c3fb563174d4db425b0 /src/gui/kernel
parent8888cef411ce1d1fc898970429e951f9ef623b0e (diff)
downloadQt-e783275cfb71e7325472b3aea54e109a7a854bf7.zip
Qt-e783275cfb71e7325472b3aea54e109a7a854bf7.tar.gz
Qt-e783275cfb71e7325472b3aea54e109a7a854bf7.tar.bz2
Call QAccessible::updateAccessibility when changing accessible name.
Reviewed-by: Jan-Arve
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index bf9f6f9..feedb2a 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -11153,6 +11153,7 @@ void QWidget::setAccessibleName(const QString &name)
{
Q_D(QWidget);
d->accessibleName = name;
+ QAccessible::updateAccessibility(this, 0, QAccessible::NameChanged);
}
QString QWidget::accessibleName() const
@@ -11174,6 +11175,7 @@ void QWidget::setAccessibleDescription(const QString &description)
{
Q_D(QWidget);
d->accessibleDescription = description;
+ QAccessible::updateAccessibility(this, 0, QAccessible::DescriptionChanged);
}
QString QWidget::accessibleDescription() const