Qt:Документация 4.3.2/qaccessiblebridge

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] QAccessibleBridge Class Reference
[модуль QtGui ]

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

 #include <QAccessibleBridge>

[править] Открытые функции


[править] Подробное описание

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.


[править] Описание функций-членов

[править]
QAccessibleBridge::~QAccessibleBridge () [virtual]

Destroys the accessibility bridge object.

[править]
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().

[править]
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.


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2