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