OpenCoverage

qunixeventdispatcher.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/platformsupport/eventdispatchers/qunixeventdispatcher.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10QUnixEventDispatcherQPA::QUnixEventDispatcherQPA(QObject *parent)-
11 : QEventDispatcherUNIX(parent)-
12{ }
never executed: end of block
0
13-
14QUnixEventDispatcherQPA::~QUnixEventDispatcherQPA()-
15{ }-
16-
17bool QUnixEventDispatcherQPA::processEvents(QEventLoop::ProcessEventsFlags flags)-
18{-
19 const bool didSendEvents = QEventDispatcherUNIX::processEvents(flags);-
20 return
never executed: return QWindowSystemInterface::sendWindowSystemEvents(flags) || didSendEvents;
QWindowSystemInterface::sendWindowSystemEvents(flags) || didSendEvents;
never executed: return QWindowSystemInterface::sendWindowSystemEvents(flags) || didSendEvents;
0
21}-
22-
23bool QUnixEventDispatcherQPA::hasPendingEvents()-
24{-
25 extern uint qGlobalPostedEventsCount();-
26 return
never executed: return qGlobalPostedEventsCount() || QWindowSystemInterface::windowSystemEventsQueued();
qGlobalPostedEventsCount() || QWindowSystemInterface::windowSystemEventsQueued();
never executed: return qGlobalPostedEventsCount() || QWindowSystemInterface::windowSystemEventsQueued();
0
27}-
28-
29void QUnixEventDispatcherQPA::flush()-
30{-
31 if((static_cast<
(static_cast<Q...::instance()))Description
TRUEnever evaluated
FALSEnever evaluated
QGuiApplication *>(QCoreApplication::instance()))
(static_cast<Q...::instance()))Description
TRUEnever evaluated
FALSEnever evaluated
)
0
32 (static_cast<
never executed: (static_cast<QGuiApplication *>(QCoreApplication::instance()))->sendPostedEvents();
QGuiApplication *>(QCoreApplication::instance()))->sendPostedEvents();
never executed: (static_cast<QGuiApplication *>(QCoreApplication::instance()))->sendPostedEvents();
0
33}
never executed: end of block
0
34-
35-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9