Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:07:57

0001 // Copyright (C) 2016 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 
0004 #ifndef QACCESSIBLEBRIDGE_H
0005 #define QACCESSIBLEBRIDGE_H
0006 
0007 #include <QtGui/qtguiglobal.h>
0008 #include <QtCore/qplugin.h>
0009 #include <QtCore/qfactoryinterface.h>
0010 
0011 QT_BEGIN_NAMESPACE
0012 
0013 
0014 #if QT_CONFIG(accessibility)
0015 
0016 class QAccessibleInterface;
0017 class QAccessibleEvent;
0018 
0019 class QAccessibleBridge
0020 {
0021 public:
0022     virtual ~QAccessibleBridge() {}
0023     virtual void setRootObject(QAccessibleInterface *) = 0;
0024     virtual void notifyAccessibilityUpdate(QAccessibleEvent *event) = 0;
0025 };
0026 
0027 #define QAccessibleBridgeFactoryInterface_iid "org.qt-project.Qt.QAccessibleBridgeFactoryInterface"
0028 
0029 class Q_GUI_EXPORT QAccessibleBridgePlugin : public QObject
0030 {
0031     Q_OBJECT
0032 public:
0033     explicit QAccessibleBridgePlugin(QObject *parent = nullptr);
0034     ~QAccessibleBridgePlugin();
0035 
0036     virtual QAccessibleBridge *create(const QString &key) = 0;
0037 };
0038 
0039 #endif // QT_CONFIG(accessibility)
0040 
0041 QT_END_NAMESPACE
0042 
0043 #endif // QACCESSIBLEBRIDGE_H