summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qeventdispatcher_winrt_p.h
diff options
context:
space:
mode:
authorAndre de la Rocha <andre.rocha@qt.io>2018-02-27 19:59:54 +0100
committerAndre de la Rocha <andre.rocha@qt.io>2018-04-17 17:36:48 +0000
commit436faee8b3704f9aae5620bc69f14c3461fc208c (patch)
tree12481600628f9ad052f039beab0b0b76d7679d8d /src/corelib/kernel/qeventdispatcher_winrt_p.h
parentc555c8b9f5c5bb1f390d94cf43d249e74ecb86f6 (diff)
WinRT: Add Windows UI Automation support
Adds support to accessibility tools and programmatic UI control to the WinRT platform through Windows UI Automation, using the AutomationPeer API. [ChangeLog][winrt][feature] Added support to Windows UI Automation to the WinRT QPA, allowing Qt-based UWP applications to operate with accessibility and programmatic UI control tools. Change-Id: If0a8edbebc7c16c4896d749f2d7e11809b4b37b3 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/corelib/kernel/qeventdispatcher_winrt_p.h')
-rw-r--r--src/corelib/kernel/qeventdispatcher_winrt_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_winrt_p.h b/src/corelib/kernel/qeventdispatcher_winrt_p.h
index f69bb9cf3f..8b998a7958 100644
--- a/src/corelib/kernel/qeventdispatcher_winrt_p.h
+++ b/src/corelib/kernel/qeventdispatcher_winrt_p.h
@@ -75,6 +75,7 @@ public:
~QEventDispatcherWinRT();
static HRESULT runOnXamlThread(const std::function<HRESULT()> &delegate, bool waitForRun = true);
+ static HRESULT runOnMainThread(const std::function<HRESULT()> &delegate, int timeout = 100);
bool processEvents(QEventLoop::ProcessEventsFlags flags);
bool hasPendingEvents();