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
qwindowsuiawindowprovider.h
Go to the documentation of this file.
1// Copyright (C) 2019 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 QWINDOWSUIAWINDOWPROVIDER_H
6#define QWINDOWSUIAWINDOWPROVIDER_H
7
8#include <QtGui/qtguiglobal.h>
9#if QT_CONFIG(accessibility)
10
11#include "qwindowsuiabaseprovider.h"
12
13QT_BEGIN_NAMESPACE
14
15class QWindowsUiaWindowProvider : public QWindowsUiaBaseProvider, public QComObject<IWindowProvider>
16{
17 Q_DISABLE_COPY(QWindowsUiaWindowProvider)
18public:
19 explicit QWindowsUiaWindowProvider(QAccessible::Id id);
20 ~QWindowsUiaWindowProvider() override;
21
22 HRESULT STDMETHODCALLTYPE SetVisualState(WindowVisualState state) override;
23 HRESULT STDMETHODCALLTYPE Close( void) override;
24 HRESULT STDMETHODCALLTYPE WaitForInputIdle(int milliseconds, __RPC__out BOOL *pRetVal) override;
25 HRESULT STDMETHODCALLTYPE get_CanMaximize(__RPC__out BOOL *pRetVal) override;
26 HRESULT STDMETHODCALLTYPE get_CanMinimize(__RPC__out BOOL *pRetVal) override;
27 HRESULT STDMETHODCALLTYPE get_IsModal(__RPC__out BOOL *pRetVal) override;
28 HRESULT STDMETHODCALLTYPE get_WindowVisualState(__RPC__out WindowVisualState *pRetVal) override;
29 HRESULT STDMETHODCALLTYPE get_WindowInteractionState(__RPC__out WindowInteractionState *pRetVal) override;
30 HRESULT STDMETHODCALLTYPE get_IsTopmost(__RPC__out BOOL *pRetVal) override;
31};
32
33QT_END_NAMESPACE
34
35#endif // QT_CONFIG(accessibility)
36
37#endif // QWINDOWSUIAWINDOWPROVIDER_H