Coverage Report

Created: 2026-04-01 07:24

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/qtbase/src/gui/accessible/qaccessibleplugin.cpp
Line
Count
Source
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
#include <QtGui/qtguiglobal.h>
5
6
#if QT_CONFIG(accessibility)
7
8
#include "qaccessibleplugin.h"
9
#include "qaccessible.h"
10
11
QT_BEGIN_NAMESPACE
12
13
/*!
14
    \class QAccessiblePlugin
15
    \inmodule QtGui
16
    \brief The QAccessiblePlugin class provides an abstract base class
17
    for plugins provinding accessibility information for user interface elements.
18
19
    \ingroup plugins
20
    \ingroup accessibility
21
22
    Writing an accessibility plugin is achieved by subclassing this
23
    base class, reimplementing the pure virtual function create(),
24
    and exporting the class with the Q_PLUGIN_METADATA() macro.
25
26
    \sa {How to Create Qt Plugins}
27
*/
28
29
/*!
30
    Constructs an accessibility plugin with the given \a parent. This
31
    is invoked automatically by the plugin loader.
32
*/
33
QAccessiblePlugin::QAccessiblePlugin(QObject *parent)
34
0
    : QObject(parent)
35
0
{
36
0
}
37
38
/*!
39
    Destroys the accessibility plugin.
40
41
    You never have to call this explicitly. Qt destroys a plugin
42
    automatically when it is no longer used.
43
*/
44
QAccessiblePlugin::~QAccessiblePlugin()
45
0
{
46
0
}
47
48
/*!
49
    \fn QAccessibleInterface *QAccessiblePlugin::create(const QString &key, QObject *object)
50
51
    Creates and returns a QAccessibleInterface implementation for the
52
    class \a key and the object \a object. Keys are case sensitive.
53
*/
54
55
QT_END_NAMESPACE
56
57
#include "moc_qaccessibleplugin.cpp"
58
59
#endif // QT_CONFIG(accessibility)