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"
8#include "private/qguiapplication_p.h"
9
10#include <qpa/qwindowsysteminterface.h>
11
12#include <QtCore/QDebug>
13
15
16QT_USE_NAMESPACE
17
18
19QUnixEventDispatcherQPA::QUnixEventDispatcherQPA(QObject *parent)
20 : QEventDispatcherUNIX(parent)
21{ }
22
23QUnixEventDispatcherQPA::~QUnixEventDispatcherQPA()
24{ }
25
26bool QUnixEventDispatcherQPA::processEvents(QEventLoop::ProcessEventsFlags flags)
27{
28 const bool didSendEvents = QEventDispatcherUNIX::processEvents(flags);
29 return QWindowSystemInterface::sendWindowSystemEvents(flags) || didSendEvents;
30}
31
32QT_END_NAMESPACE