Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwindowsuiatableprovider.h
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#ifndef QWINDOWSUIATABLEPROVIDER_H
6#define QWINDOWSUIATABLEPROVIDER_H
7
8#include <QtGui/qtguiglobal.h>
9#if QT_CONFIG(accessibility)
10
11#include "qwindowsuiabaseprovider.h"
12
13QT_BEGIN_NAMESPACE
14
15// Implements the Table control pattern provider. Used by tables/trees.
16class QWindowsUiaTableProvider : public QWindowsUiaBaseProvider, public QComObject<ITableProvider>
17{
18 Q_DISABLE_COPY_MOVE(QWindowsUiaTableProvider)
19public:
20 explicit QWindowsUiaTableProvider(QAccessible::Id id);
21 virtual ~QWindowsUiaTableProvider();
22
23 // ITableProvider
24 HRESULT STDMETHODCALLTYPE GetRowHeaders(SAFEARRAY **pRetVal) override;
25 HRESULT STDMETHODCALLTYPE GetColumnHeaders(SAFEARRAY **pRetVal) override;
26 HRESULT STDMETHODCALLTYPE get_RowOrColumnMajor(enum RowOrColumnMajor *pRetVal) override;
27};
28
29QT_END_NAMESPACE
30
31#endif // QT_CONFIG(accessibility)
32
33#endif // QWINDOWSUIATABLEPROVIDER_H