diff options
Diffstat (limited to 'src/quicktemplates/accessible/qaccessiblequickpage_p.h')
-rw-r--r-- | src/quicktemplates/accessible/qaccessiblequickpage_p.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/quicktemplates/accessible/qaccessiblequickpage_p.h b/src/quicktemplates/accessible/qaccessiblequickpage_p.h new file mode 100644 index 0000000000..e3d12188e5 --- /dev/null +++ b/src/quicktemplates/accessible/qaccessiblequickpage_p.h @@ -0,0 +1,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 |