Qt 4.8
Public Functions | List of all members
QAccessibleBridge Class Referenceabstract

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

#include <qaccessiblebridge.h>

Public Functions

virtual void notifyAccessibilityUpdate (int, QAccessibleInterface *, int)=0
 This function is called by Qt to notify the bridge about a change in the accessibility information for object wrapped by the given interface. More...
 
virtual void setRootObject (QAccessibleInterface *)=0
 This function is called by Qt at application startup to set the root accessible object of the application to object. More...
 
virtual ~QAccessibleBridge ()
 Destroys the accessibility bridge object. More...
 

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, QAccessibleBridgePlugin

Definition at line 58 of file qaccessiblebridge.h.

Constructors and Destructors

◆ ~QAccessibleBridge()

QAccessibleBridge::~QAccessibleBridge ( )
inlinevirtual

Destroys the accessibility bridge object.

Definition at line 61 of file qaccessiblebridge.h.

61 {}

Functions

◆ notifyAccessibilityUpdate()

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

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()

Referenced by ~QAccessibleBridge().

◆ setRootObject()

void QAccessibleBridge::setRootObject ( QAccessibleInterface object)
pure virtual

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.

Referenced by ~QAccessibleBridge().


The documentation for this class was generated from the following files: