1 | // Copyright (C) 2021 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 | #ifndef QACCESSIBLEQUICKPAGE_H |
5 | #define QACCESSIBLEQUICKPAGE_H |
6 | |
7 | // |
8 | // W A R N I N G |
9 | // ------------- |
10 | // |
11 | // This file is not part of the Qt API. It exists purely as an |
12 | // implementation detail. This header file may change from version to |
13 | // version without notice, or even be removed. |
14 | // |
15 | // We mean it. |
16 | // |
17 | |
18 | #include <QtQuick/private/qaccessiblequickitem_p.h> |
19 | |
20 | QT_BEGIN_NAMESPACE |
21 | |
22 | class QQuickPage; |
23 | |
24 | class QAccessibleQuickPage : public QAccessibleQuickItem |
25 | { |
26 | public: |
27 | QAccessibleQuickPage(QQuickPage *page); |
28 | QAccessibleInterface *child(int index) const override; |
29 | int indexOfChild(const QAccessibleInterface *iface) const override; |
30 | private: |
31 | QQuickPage *page() const; |
32 | QList<QQuickItem *> orderedChildItems() const; |
33 | }; |
34 | |
35 | QT_END_NAMESPACE |
36 | |
37 | #endif // QACCESSIBLEQUICKPAGE_H |
38 | |