Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qaccessiblebridge.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QACCESSIBLEBRIDGE_H
5#define QACCESSIBLEBRIDGE_H
6
7#include <QtGui/qtguiglobal.h>
8#include <QtCore/qplugin.h>
9#include <QtCore/qfactoryinterface.h>
10
12
13
14#if QT_CONFIG(accessibility)
15
16class QAccessibleInterface;
17class QAccessibleEvent;
18
19class QAccessibleBridge
20{
21public:
22 virtual ~QAccessibleBridge() {}
23 virtual void setRootObject(QAccessibleInterface *) = 0;
24 virtual void notifyAccessibilityUpdate(QAccessibleEvent *event) = 0;
25};
26
27#define QAccessibleBridgeFactoryInterface_iid "org.qt-project.Qt.QAccessibleBridgeFactoryInterface"
28
29class Q_GUI_EXPORT QAccessibleBridgePlugin : public QObject
30{
32public:
33 explicit QAccessibleBridgePlugin(QObject *parent = nullptr);
34 ~QAccessibleBridgePlugin();
35
36 virtual QAccessibleBridge *create(const QString &key) = 0;
37};
38
39#endif // QT_CONFIG(accessibility)
40
42
43#endif // QACCESSIBLEBRIDGE_H
\inmodule QtCore
Definition qobject.h:90
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
GLuint64 key
struct _cl_event * event
#define Q_OBJECT
view create()
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent