diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2011-02-17 18:56:30 (GMT) |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2011-03-23 12:57:03 (GMT) |
commit | e783275cfb71e7325472b3aea54e109a7a854bf7 (patch) | |
tree | 37bf367dddc3d3cae2d64c3fb563174d4db425b0 /src/gui/kernel | |
parent | 8888cef411ce1d1fc898970429e951f9ef623b0e (diff) | |
download | Qt-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.cpp | 2 |
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 |