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
qwasmeventdispatcher.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
include
"qwasmeventdispatcher.h"
6
#
include
"qwasmintegration.h"
7
8
#
include
<
QtGui
/
qpa
/
qwindowsysteminterface
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
QWasmEventDispatcher::QWasmEventDispatcher()
13
:QEventDispatcherWasm()
14
{
15
16
}
17
18
// Note: All event dispatcher functionality is implemented in QEventDispatcherWasm
19
// in QtCore, except for processPostedEvents() below which uses API from QtGui.
20
bool
QWasmEventDispatcher
::
sendPostedEvents
()
21
{
22
QEventDispatcherWasm::sendPostedEvents();
23
return
QWindowSystemInterface::sendWindowSystemEvents(QEventLoop::AllEvents);
24
}
25
26
QT_END_NAMESPACE
QWasmEventDispatcher
Definition
qwasmeventdispatcher.h:17
QWasmEventDispatcher::sendPostedEvents
bool sendPostedEvents() override
Definition
qwasmeventdispatcher.cpp:20
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtbase
src
plugins
platforms
wasm
qwasmeventdispatcher.cpp
Generated on
for Qt by
1.16.1