QAccessibleBridge Class

The QAccessibleBridge class is the base class for accessibility back-ends. More...

Header: #include <QAccessibleBridge>

Public Functions

virtual ~QAccessibleBridge()
virtual void notifyAccessibilityUpdate(int reason, QAccessibleInterface * interface, int child) = 0
virtual void setRootObject(QAccessibleInterface * object) = 0

Detailed Description

The QAccessibleBridge class is the base class for accessibility back-ends.

Qt supports Microsoft Active Accessibility (MSAA), Mac OS X Accessibility, and the Unix/X11 AT-SPI standard. By subclassing QAccessibleBridge, you can support other backends than the predefined ones.

Currently, custom bridges are only supported on Unix. We might add support for them on other platforms as well if there is enough demand.

See also QAccessible and QAccessibleBridgePlugin.

Member Function Documentation

[virtual] QAccessibleBridge::~QAccessibleBridge()

Destroys the accessibility bridge object.

[pure virtual] void QAccessibleBridge::notifyAccessibilityUpdate(int reason, QAccessibleInterface * interface, int child)

This function is called by Qt to notify the bridge about a change in the accessibility information for object wrapped by the given interface.

reason specifies the cause of the change. It can take values of type QAccessible::Event.

child is the (1-based) index of the child element that has changed. When child is 0, the object itself has changed.

See also QAccessible::updateAccessibility().

[pure virtual] void QAccessibleBridge::setRootObject(QAccessibleInterface * object)

This function is called by Qt at application startup to set the root accessible object of the application to object. All other accessible objects in the application can be reached by the client using object navigation.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.