AtSpiAdaptor Class

AtSpiAdaptor is the main class to forward between QAccessibleInterface and AT-SPI DBus. More...

Header: #include <AtSpiAdaptor>

Public Functions

void notify(QAccessibleEvent *event)
void registerApplication()

Reimplemented Public Functions

virtual bool handleMessage(const QDBusMessage &message, const QDBusConnection &connection) override
virtual QString introspect(const QString &path) const override

Public Slots

void windowActivated(QObject *window, bool active)

Detailed Description

\internal

AtSpiAdaptor implements the functions specified in all at-spi interfaces. It sends notifications coming from Qt via dbus and listens to incoming dbus requests.

Member Function Documentation

[override virtual] bool AtSpiAdaptor::handleMessage(const QDBusMessage &message, const QDBusConnection &connection)

Handle incoming DBus message. This function dispatches the dbus message to the right interface handler.

[override virtual] QString AtSpiAdaptor::introspect(const QString &path) const

Provide DBus introspection.

void AtSpiAdaptor::notify(QAccessibleEvent *event)

This function gets called when Qt notifies about accessibility updates.

void AtSpiAdaptor::registerApplication()

Register this application as accessible on the accessibility DBus.

[slot] void AtSpiAdaptor::windowActivated(QObject *window, bool active)

This slot needs to get called when a window has be activated or deactivated (become focused). When active is true, the window just received focus, otherwise it lost the focus.