5#ifndef QWINDOWSUIAEXPANDCOLLAPSEPROVIDER_H
6#define QWINDOWSUIAEXPANDCOLLAPSEPROVIDER_H
8#include <QtGui/qtguiglobal.h>
9#if QT_CONFIG(accessibility)
11#include "qwindowsuiabaseprovider.h"
16class QWindowsUiaExpandCollapseProvider :
public QWindowsUiaBaseProvider,
17 public QComObject<IExpandCollapseProvider>
19 Q_DISABLE_COPY_MOVE(QWindowsUiaExpandCollapseProvider)
21 explicit QWindowsUiaExpandCollapseProvider(QAccessible::Id id);
22 virtual ~QWindowsUiaExpandCollapseProvider() override;
25 HRESULT STDMETHODCALLTYPE Expand() override;
26 HRESULT STDMETHODCALLTYPE Collapse() override;
27 HRESULT STDMETHODCALLTYPE get_ExpandCollapseState(__RPC__out ExpandCollapseState *pRetVal) override;