aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates/accessible/qaccessiblequickpage_p.h
blob: e3d12188e5ebda5e167af33767410ca59ff08475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (C) 2021 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

#ifndef QACCESSIBLEQUICKPAGE_H
#define QACCESSIBLEQUICKPAGE_H

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API.  It exists purely as an
// implementation detail.  This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//

#include <QtQuick/private/qaccessiblequickitem_p.h>

QT_BEGIN_NAMESPACE

class QQuickPage;

class QAccessibleQuickPage : public QAccessibleQuickItem
{
public:
    QAccessibleQuickPage(QQuickPage *page);
    QAccessibleInterface *child(int index) const override;
    int indexOfChild(const QAccessibleInterface *iface) const override;
private:
    QQuickPage *page() const;
    QList<QQuickItem *> orderedChildItems() const;
};

QT_END_NAMESPACE

#endif // QACCESSIBLEQUICKPAGE_H