Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | struct GUserEventSource | - |
9 | { | - |
10 | GSource source; | - |
11 | QPAEventDispatcherGlib *q; | - |
12 | }; | - |
13 | | - |
14 | static gboolean userEventSourcePrepare(GSource *s, gint *timeout) | - |
15 | { | - |
16 | (void)s; | - |
17 | (void)timeout; | - |
18 | | - |
19 | returnexecuted 526263 times by 127 tests: return QWindowSystemInterface::windowSystemEventsQueued() > 0; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
QWindowSystemInterface::windowSystemEventsQueued() > 0;executed 526263 times by 127 tests: return QWindowSystemInterface::windowSystemEventsQueued() > 0; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 526263 |
20 | } | - |
21 | | - |
22 | static gboolean userEventSourceCheck(GSource *source) | - |
23 | { | - |
24 | returnexecuted 259321 times by 127 tests: return userEventSourcePrepare(source, 0); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
userEventSourcePrepare(source, 0);executed 259321 times by 127 tests: return userEventSourcePrepare(source, 0); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 259321 |
25 | } | - |
26 | | - |
27 | static gboolean userEventSourceDispatch(GSource *source, GSourceFunc, gpointer) | - |
28 | { | - |
29 | GUserEventSource *userEventSource = reinterpret_cast<GUserEventSource *>(source); | - |
30 | QPAEventDispatcherGlib *dispatcher = userEventSource->q; | - |
31 | QWindowSystemInterface::sendWindowSystemEvents(dispatcher->m_flags); | - |
32 | returnexecuted 7621 times by 110 tests: return true; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
true;executed 7621 times by 110 tests: return true; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 7621 |
33 | } | - |
34 | | - |
35 | static GSourceFuncs userEventSourceFuncs = { | - |
36 | userEventSourcePrepare, | - |
37 | userEventSourceCheck, | - |
38 | userEventSourceDispatch, | - |
39 | __null, | - |
40 | __null, | - |
41 | __null | - |
42 | }; | - |
43 | | - |
44 | QPAEventDispatcherGlibPrivate::QPAEventDispatcherGlibPrivate(GMainContext *context) | - |
45 | : QEventDispatcherGlibPrivate(context) | - |
46 | { | - |
47 | QPAEventDispatcherGlib * const q = q_func(); | - |
48 | userEventSource = reinterpret_cast<GUserEventSource *>(g_source_new(&userEventSourceFuncs, | - |
49 | sizeof(GUserEventSource))); | - |
50 | userEventSource->q = q; | - |
51 | g_source_set_can_recurse(&userEventSource->source, true); | - |
52 | g_source_attach(&userEventSource->source, mainContext); | - |
53 | }executed 135 times by 5 tests: end of block Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
54 | | - |
55 | | - |
56 | QPAEventDispatcherGlib::QPAEventDispatcherGlib(QObject *parent) | - |
57 | : QEventDispatcherGlib(*new QPAEventDispatcherGlibPrivate, parent) | - |
58 | , m_flags(QEventLoop::AllEvents) | - |
59 | { | - |
60 | QPAEventDispatcherGlibPrivate * const d = d_func(); | - |
61 | d->userEventSource->q = this; | - |
62 | }executed 135 times by 5 tests: end of block Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
63 | | - |
64 | QPAEventDispatcherGlib::~QPAEventDispatcherGlib() | - |
65 | { | - |
66 | QPAEventDispatcherGlibPrivate * const d = d_func(); | - |
67 | | - |
68 | g_source_destroy(&d->userEventSource->source); | - |
69 | g_source_unref(&d->userEventSource->source); | - |
70 | d->userEventSource = 0; | - |
71 | }executed 347 times by 219 tests: end of block Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qclipboard - unknown status
- ...
| 347 |
72 | | - |
73 | bool QPAEventDispatcherGlib::processEvents(QEventLoop::ProcessEventsFlags flags) | - |
74 | { | - |
75 | m_flags = flags; | - |
76 | returnexecuted 266721 times by 127 tests: return QEventDispatcherGlib::processEvents(m_flags); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
QEventDispatcherGlib::processEvents(m_flags);executed 266721 times by 127 tests: return QEventDispatcherGlib::processEvents(m_flags); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 266721 |
77 | } | - |
78 | | - |
79 | | - |
| | |