Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qplatformaccessibility.h
Go to the documentation of this file.
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#ifndef QPLATFORMACCESSIBILITY_H
4#define QPLATFORMACCESSIBILITY_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is part of the QPA API and is not meant to be used
11// in applications. Usage of this API may make your code
12// source and binary incompatible with future versions of Qt.
13//
14
15#include <QtGui/qtguiglobal.h>
16
17#if QT_CONFIG(accessibility)
18
19#include <QtCore/qobject.h>
20#include <QtGui/qaccessible.h>
21
23
24
25class Q_GUI_EXPORT QPlatformAccessibility
26{
27public:
28 QPlatformAccessibility();
29
30 virtual ~QPlatformAccessibility();
31 virtual void notifyAccessibilityUpdate(QAccessibleEvent *event);
32 virtual void setRootObject(QObject *o);
33 virtual void initialize();
34 virtual void cleanup();
35
36 inline bool isActive() const { return m_active; }
37 void setActive(bool active);
38
39private:
40 bool m_active;
41};
42
44
45#endif // QT_CONFIG(accessibility)
46
47#endif // QPLATFORMACCESSIBILITY_H
bool m_active
bool isActive
\inmodule QtCore
Definition qobject.h:103
Combined button and popup list for selecting options.
static bool initialize()
Definition qctf.cpp:94
struct _cl_event * event