20#ifndef Q_SPI_CONSTANT_MAPPINGS_H
21#define Q_SPI_CONSTANT_MAPPINGS_H
25#include <QtGui/private/qtguiglobal_p.h>
26#include <QtGui/QAccessible>
27#include <atspi/atspi-constants.h>
32#define ATSPI_DBUS_NAME_REGISTRY "org.a11y.atspi.Registry"
33#define ATSPI_DBUS_PATH_REGISTRY "/org/a11y/atspi/registry"
34#define ATSPI_DBUS_INTERFACE_REGISTRY "org.a11y.atspi.Registry"
36#define ATSPI_DBUS_PATH_ROOT "/org/a11y/atspi/accessible/root"
38#define ATSPI_DBUS_PATH_DEC "/org/a11y/atspi/registry/deviceeventcontroller"
39#define ATSPI_DBUS_INTERFACE_DEC "org.a11y.atspi.DeviceEventController"
40#define ATSPI_DBUS_INTERFACE_DEVICE_EVENT_LISTENER "org.a11y.atspi.DeviceEventListener"
42#define ATSPI_DBUS_INTERFACE_CACHE "org.a11y.atspi.Cache"
43#define ATSPI_DBUS_INTERFACE_ACCESSIBLE "org.a11y.atspi.Accessible"
44#define ATSPI_DBUS_INTERFACE_ACTION "org.a11y.atspi.Action"
45#define ATSPI_DBUS_INTERFACE_APPLICATION "org.a11y.atspi.Application"
46#define ATSPI_DBUS_INTERFACE_COLLECTION "org.a11y.atspi.Collection"
47#define ATSPI_DBUS_INTERFACE_COMPONENT "org.a11y.atspi.Component"
48#define ATSPI_DBUS_INTERFACE_DOCUMENT "org.a11y.atspi.Document"
49#define ATSPI_DBUS_INTERFACE_EDITABLE_TEXT "org.a11y.atspi.EditableText"
50#define ATSPI_DBUS_INTERFACE_EVENT_KEYBOARD "org.a11y.atspi.Event.Keyboard"
51#define ATSPI_DBUS_INTERFACE_EVENT_MOUSE "org.a11y.atspi.Event.Mouse"
52#define ATSPI_DBUS_INTERFACE_EVENT_OBJECT "org.a11y.atspi.Event.Object"
53#define ATSPI_DBUS_INTERFACE_HYPERLINK "org.a11y.atspi.Hyperlink"
54#define ATSPI_DBUS_INTERFACE_HYPERTEXT "org.a11y.atspi.Hypertext"
55#define ATSPI_DBUS_INTERFACE_IMAGE "org.a11y.atspi.Image"
56#define ATSPI_DBUS_INTERFACE_SELECTION "org.a11y.atspi.Selection"
57#define ATSPI_DBUS_INTERFACE_TABLE "org.a11y.atspi.Table"
58#define ATSPI_DBUS_INTERFACE_TEXT "org.a11y.atspi.Text"
59#define ATSPI_DBUS_INTERFACE_VALUE "org.a11y.atspi.Value"
60#define ATSPI_DBUS_INTERFACE_SOCKET "org.a11y.atspi.Socket"
63#define ATSPI_DBUS_INTERFACE_EVENT_WINDOW "org.a11y.atspi.Event.Window"
64#define ATSPI_DBUS_INTERFACE_EVENT_FOCUS "org.a11y.atspi.Event.Focus"
66#define QSPI_OBJECT_PATH_ACCESSIBLE "/org/a11y/atspi/accessible"
67#define QSPI_OBJECT_PATH_PREFIX "/org/a11y/atspi/accessible/"
68#define QSPI_OBJECT_PATH_ROOT QSPI_OBJECT_PATH_PREFIX "root"
70#define QSPI_REGISTRY_NAME "org.a11y.atspi.Registry"
77 :m_spiRole(
r), m_name(
n), m_localizedName(ln)
80 AtspiRole
spiRole()
const {
return m_spiRole;}
85 AtspiRole m_spiRole = ATSPI_ROLE_INVALID;
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
void unsetSpiStateBit(quint64 *state, AtspiStateType spiState)
AtspiRelationType qAccessibleRelationToAtSpiRelation(QAccessible::Relation relation)
quint64 spiStatesFromQState(QAccessible::State state)
void setSpiStateBit(quint64 *state, AtspiStateType spiState)
QSpiUIntList spiStateSetFromSpiStates(quint64 states)
#define QT_REQUIRE_CONFIG(feature)
unsigned long long quint64
QString localizedName() const
RoleNames(AtspiRole r, const QString &n, const QString &ln)
AtspiRole spiRole() const