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
qunixeventdispatcher.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 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
#
include
"qplatformdefs.h"
6
#
include
"qcoreapplication.h"
7
#
include
"qunixeventdispatcher_qpa_p.h"
8
#
include
"private/qguiapplication_p.h"
9
10
#
include
<
qpa
/
qwindowsysteminterface
.
h
>
11
12
#
include
<
QtCore
/
QDebug
>
13
14
QT_BEGIN_NAMESPACE
15
16
QT_USE_NAMESPACE
17
18
19
QUnixEventDispatcherQPA::QUnixEventDispatcherQPA(QObject *parent)
20
: QEventDispatcherUNIX(parent)
21
{ }
22
23
QUnixEventDispatcherQPA::~QUnixEventDispatcherQPA()
24
{ }
25
26
bool
QUnixEventDispatcherQPA::processEvents(QEventLoop::ProcessEventsFlags flags)
27
{
28
const
bool
didSendEvents = QEventDispatcherUNIX::processEvents(flags);
29
return
QWindowSystemInterface::sendWindowSystemEvents(flags) || didSendEvents;
30
}
31
32
QT_END_NAMESPACE
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtbase
src
gui
platform
unix
qunixeventdispatcher.cpp
Generated on
for Qt by
1.14.0