Qt Accessibility Client

qt-atspi.h
1/*
2 SPDX-FileCopyrightText: 2012 Frederik Gladhorn <gladhorn@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef QT_ATSPI_H
8#define QT_ATSPI_H
9#define QSPI_OBJECT_PATH_ACCESSIBLE "/org/a11y/atspi/accessible"
10#define QSPI_OBJECT_PATH_ACCESSIBLE_NULL QSPI_OBJECT_PATH_ACCESSIBLE"/null"
11
12#include <QList>
13#include <QString>
14#include <QDBusArgument>
15#include <QDebug>
16
17namespace QAccessibleClient {
18
19/**
20 Register meta types for dbus.
21 \internal
22 */
23void registerDBusTypes();
24
25/**
26 The QSpiObjectReference struct is a dbus service and path representing a remote accessible object.
27 \internal
28 */
30{
31 QString service;
32 QDBusObjectPath path;
33};
34
36
37struct QSpiAction
38{
39 QString name;
40 QString description;
41 QString keyBinding;
42};
43
44typedef QList <QSpiAction> QSpiActionArray;
45
46/**
47 \internal
48 */
49QDBusArgument &operator<<(QDBusArgument &argument, const QSpiObjectReference &address);
50
51/**
52 \internal
53 */
54const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiObjectReference &address);
55
56/**
57 \internal
58 */
59QDBusArgument &operator<<(QDBusArgument &argument, const QSpiAction &address);
60
61/**
62 \internal
63 */
64const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiAction &address);
65
66}
67
70Q_DECLARE_METATYPE(QAccessibleClient::QSpiAction)
71Q_DECLARE_METATYPE(QAccessibleClient::QSpiActionArray)
72QDebug operator<<(QDebug d, const QAccessibleClient::QSpiAction &t);
73#endif
QDebug operator<<(QDebug dbg, const DcrawInfoContainer &c)
The QSpiObjectReference struct is a dbus service and path representing a remote accessible object.
Definition qt-atspi.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.