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 QACCESSIBLEPLUGIN_H
5#define QACCESSIBLEPLUGIN_H
6
7#include <QtGui/qtguiglobal.h>
8#include <QtGui/qaccessible.h>
9#include <QtCore/qfactoryinterface.h>
10
11QT_BEGIN_NAMESPACE
12
13
14#if QT_CONFIG(accessibility)
15
16class QAccessibleInterface;
17
18#define QAccessibleFactoryInterface_iid "org.qt-project.Qt.QAccessibleFactoryInterface"
19
20class QAccessiblePluginPrivate;
21
22class Q_GUI_EXPORT QAccessiblePlugin : public QObject
23{
24 Q_OBJECT
25public:
26 explicit QAccessiblePlugin(QObject *parent = nullptr);
27 ~QAccessiblePlugin();
28
29 virtual QAccessibleInterface *create(const QString &key, QObject *object) = 0;
30};
31
32#endif // QT_CONFIG(accessibility)
33
34QT_END_NAMESPACE
35
36#endif // QACCESSIBLEPLUGIN_H
37

source code of qtbase/src/gui/accessible/qaccessibleplugin.h