// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #include #ifndef QT_NO_ACCESSIBILITY #include "qaccessibleplugin.h" #include "qaccessible.h" QT_BEGIN_NAMESPACE /*! \class QAccessiblePlugin \inmodule QtGui \brief The QAccessiblePlugin class provides an abstract base class for plugins provinding accessibility information for user interface elements. \ingroup plugins \ingroup accessibility Writing an accessibility plugin is achieved by subclassing this base class, reimplementing the pure virtual function create(), and exporting the class with the Q_PLUGIN_METADATA() macro. \sa {How to Create Qt Plugins} */ /*! Constructs an accessibility plugin with the given \a parent. This is invoked automatically by the plugin loader. */ QAccessiblePlugin::QAccessiblePlugin(QObject *parent) : QObject(parent) { } /*! Destroys the accessibility plugin. You never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used. */ QAccessiblePlugin::~QAccessiblePlugin() { } /*! \fn QAccessibleInterface *QAccessiblePlugin::create(const QString &key, QObject *object) Creates and returns a QAccessibleInterface implementation for the class \a key and the object \a object. Keys are case sensitive. */ QT_END_NAMESPACE #include "moc_qaccessibleplugin.cpp" #endif // QT_NO_ACCESSIBILITY