Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwindowsuiabaseprovider.cpp
Go to the documentation of this file.
1
// Copyright (C) 2017 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
// Qt-Security score:significant reason:default
4
5
#
include
<
QtGui
/
qtguiglobal
.
h
>
6
#
if
QT_CONFIG
(
accessibility
)
7
8
#
include
"qwindowsuiabaseprovider.h"
9
#
include
"qwindowsuiautils.h"
10
#
include
"qwindowscontext.h"
11
12
#
include
<
QtGui
/
qaccessible
.
h
>
13
#
include
<
QtCore
/
qstring
.
h
>
14
15
QT_BEGIN_NAMESPACE
16
17
using
namespace
QWindowsUiAutomation;
18
19
20
QWindowsUiaBaseProvider::QWindowsUiaBaseProvider(QAccessible::Id id) :
21
m_id(id)
22
{
23
}
24
25
QWindowsUiaBaseProvider::~QWindowsUiaBaseProvider()
26
{
27
}
28
29
QAccessibleInterface *QWindowsUiaBaseProvider::accessibleInterface()
const
30
{
31
QAccessibleInterface *accessible = QAccessible::accessibleInterface(m_id);
32
if
(accessible && accessible->isValid())
33
return
accessible;
34
return
nullptr
;
35
}
36
37
QAccessible::Id QWindowsUiaBaseProvider::id()
const
38
{
39
return
m_id;
40
}
41
42
QT_END_NAMESPACE
43
44
#
endif
// QT_CONFIG(accessibility)
qtbase
src
plugins
platforms
windows
uiautomation
qwindowsuiabaseprovider.cpp
Generated on
for Qt by
1.18.0