Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | static xcb_generic_event_t *local_xcb_poll_for_queued_event(xcb_connection_t *c) | - |
22 | __attribute__((weakref("xcb_poll_for_queued_event"))); | - |
23 | | - |
24 | static inline void checkXcbPollForQueuedEvent() | - |
25 | { } | - |
26 | | - |
27 | | - |
28 | const QLoggingCategory &lcQpaXInput() { static const QLoggingCategory category("qt.qpa.input"); returnexecuted 7746 times by 125 tests: return category; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
category;executed 7746 times by 125 tests: return category; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
} | 7746 |
29 | const QLoggingCategory &lcQpaXInputDevices() { static const QLoggingCategory category("qt.qpa.input.devices"); returnexecuted 3225 times by 5 tests: return category; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
category;executed 3225 times by 5 tests: return category; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
} | 3225 |
30 | const QLoggingCategory &lcQpaXInputEvents() { static const QLoggingCategory category("qt.qpa.input.events"); returnexecuted 3528 times by 68 tests: return category; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
category;executed 3528 times by 68 tests: return category; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
} | 3528 |
31 | const QLoggingCategory &lcQpaScreen() { static const QLoggingCategory category("qt.qpa.screen"); returnexecuted 1161 times by 5 tests: return category; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
category;executed 1161 times by 5 tests: return category; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
} | 1161 |
32 | typedef struct qt_xcb_ge_event_t { | - |
33 | uint8_t response_type; | - |
34 | uint8_t extension; | - |
35 | uint16_t sequence; | - |
36 | uint32_t length; | - |
37 | uint16_t event_type; | - |
38 | } qt_xcb_ge_event_t; | - |
39 | | - |
40 | static inline bool isXIEvent(xcb_generic_event_t *event, int opCode) | - |
41 | { | - |
42 | qt_xcb_ge_event_t *e = (qt_xcb_ge_event_t *)event; | - |
43 | returnexecuted 7499 times by 69 tests: return e->extension == opCode; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
e->extension == opCode;executed 7499 times by 69 tests: return e->extension == opCode; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 7499 |
44 | } | - |
45 | | - |
46 | | - |
47 | | - |
48 | static const char * const xcbConnectionErrors[] = { | - |
49 | "No error", | - |
50 | "I/O error", | - |
51 | "Unsupported extension used", | - |
52 | "Out of memory", | - |
53 | "Maximum allowed requested length exceeded", | - |
54 | "Failed to parse display string", | - |
55 | "No such screen on display", | - |
56 | "Error during FD passing" | - |
57 | }; | - |
58 | | - |
59 | static int nullErrorHandler(Display *, XErrorEvent *) | - |
60 | { | - |
61 | return never executed: return 0; 0;never executed: return 0; | 0 |
62 | } | - |
63 | | - |
64 | static int ioErrorHandler(Display *dpy) | - |
65 | { | - |
66 | xcb_connection_t *conn = XGetXCBConnection(dpy); | - |
67 | if (conn != __nullTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
68 | | - |
69 | int code = xcb_connection_has_error(conn); | - |
70 | const char *str = "Unknown error"; | - |
71 | int arrayLength = sizeof(xcbConnectionErrors) / sizeof(xcbConnectionErrors[0]); | - |
72 | if (code >= 0TRUE | never evaluated | FALSE | never evaluated |
&& code < arrayLengthTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
73 | str = xcbConnectionErrors[code]; never executed: str = xcbConnectionErrors[code]; | 0 |
74 | | - |
75 | QMessageLogger(__FILE__, 161, __PRETTY_FUNCTION__).warning("The X11 connection broke: %s (code %d)", str, code); | - |
76 | } never executed: end of block | 0 |
77 | return never executed: return _XDefaultIOError(dpy); _XDefaultIOError(dpy);never executed: return _XDefaultIOError(dpy); | 0 |
78 | } | - |
79 | | - |
80 | | - |
81 | QXcbScreen* QXcbConnection::findScreenForCrtc(xcb_window_t rootWindow, xcb_randr_crtc_t crtc) | - |
82 | { | - |
83 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(m_screens)>::type> _container_((m_screens)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (QXcbScreen *screen = *_container_.i; _container_.control; _container_.control = 0) { | - |
84 | if (screen->root() == rootWindowTRUE | never evaluated | FALSE | never evaluated |
&& screen->crtc() == crtcTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
85 | return never executed: return screen; screen;never executed: return screen; | 0 |
86 | } never executed: end of block | 0 |
87 | | - |
88 | return never executed: return 0; 0;never executed: return 0; | 0 |
89 | } | - |
90 | | - |
91 | QXcbScreen* QXcbConnection::findScreenForOutput(xcb_window_t rootWindow, xcb_randr_output_t output) | - |
92 | { | - |
93 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(m_screens)>::type> _container_((m_screens)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (QXcbScreen *screen = *_container_.i; _container_.control; _container_.control = 0) { | - |
94 | if (screen->root() == rootWindowTRUE | never evaluated | FALSE | never evaluated |
&& screen->output() == outputTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
95 | return never executed: return screen; screen;never executed: return screen; | 0 |
96 | } never executed: end of block | 0 |
97 | | - |
98 | return never executed: return 0; 0;never executed: return 0; | 0 |
99 | } | - |
100 | | - |
101 | QXcbVirtualDesktop* QXcbConnection::virtualDesktopForRootWindow(xcb_window_t rootWindow) | - |
102 | { | - |
103 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(m_virtualDesktops)>::type> _container_((m_virtualDesktops)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (QXcbVirtualDesktop *virtualDesktop = *_container_.i; _container_.control; _container_.control = 0) { | - |
104 | if (virtualDesktop->screen()->root == rootWindowTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
105 | return never executed: return virtualDesktop; virtualDesktop;never executed: return virtualDesktop; | 0 |
106 | } never executed: end of block | 0 |
107 | | - |
108 | return never executed: return 0; 0;never executed: return 0; | 0 |
109 | } | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | void QXcbConnection::updateScreens(const xcb_randr_notify_event_t *event) | - |
115 | { | - |
116 | if (event->subCode == XCB_RANDR_NOTIFY_CRTC_CHANGETRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
117 | xcb_randr_crtc_change_t crtc = event->u.cc; | - |
118 | QXcbVirtualDesktop *virtualDesktop = virtualDesktopForRootWindow(crtc.window); | - |
119 | if (!virtualDesktopTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
120 | | - |
121 | return; never executed: return; | 0 |
122 | | - |
123 | QXcbScreen *screen = findScreenForCrtc(crtc.window, crtc.crtc); | - |
124 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 210, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "QXcbConnection: XCB_RANDR_NOTIFY_CRTC_CHANGE:" << crtc.crtcnever executed: QMessageLogger(__FILE__, 210, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "QXcbConnection: XCB_RANDR_NOTIFY_CRTC_CHANGE:" << crtc.crtc << "mode" << crtc.mode << "relevant screen" << screen; | 0 |
125 | << "mode" << crtc.mode << "relevant screen" << screen; never executed: QMessageLogger(__FILE__, 210, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "QXcbConnection: XCB_RANDR_NOTIFY_CRTC_CHANGE:" << crtc.crtc << "mode" << crtc.mode << "relevant screen" << screen; | 0 |
126 | | - |
127 | | - |
128 | | - |
129 | if (screenTRUE | never evaluated | FALSE | never evaluated |
&& crtc.modeTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
130 | if (crtc.rotation == XCB_RANDR_ROTATION_ROTATE_90TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
131 | crtc.rotation == XCB_RANDR_ROTATION_ROTATE_270TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
132 | std::swap(crtc.width, crtc.height); never executed: std::swap(crtc.width, crtc.height); | 0 |
133 | screen->updateGeometry(QRect(crtc.x, crtc.y, crtc.width, crtc.height), crtc.rotation); | - |
134 | if (screen->mode() != crtc.modeTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
135 | screen->updateRefreshRate(crtc.mode); never executed: screen->updateRefreshRate(crtc.mode); | 0 |
136 | } never executed: end of block | 0 |
137 | | - |
138 | } never executed: end of block else if (event->subCode == XCB_RANDR_NOTIFY_OUTPUT_CHANGETRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
139 | xcb_randr_output_change_t output = event->u.oc; | - |
140 | QXcbVirtualDesktop *virtualDesktop = virtualDesktopForRootWindow(output.window); | - |
141 | if (!virtualDesktopTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
142 | | - |
143 | return; never executed: return; | 0 |
144 | | - |
145 | QXcbScreen *screen = findScreenForOutput(output.window, output.output); | - |
146 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 232, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "QXcbConnection: XCB_RANDR_NOTIFY_OUTPUT_CHANGE:" << output.output;never executed: QMessageLogger(__FILE__, 232, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "QXcbConnection: XCB_RANDR_NOTIFY_OUTPUT_CHANGE:" << output.output; | 0 |
147 | | - |
148 | if (screenTRUE | never evaluated | FALSE | never evaluated |
&& output.connection == XCB_RANDR_CONNECTION_DISCONNECTEDTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
149 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 235, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "screen" << screen->name() << "has been disconnected";never executed: QMessageLogger(__FILE__, 235, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "screen" << screen->name() << "has been disconnected"; | 0 |
150 | destroyScreen(screen); | - |
151 | } never executed: end of block else if (!screenTRUE | never evaluated | FALSE | never evaluated |
&& output.connection == XCB_RANDR_CONNECTION_CONNECTEDTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
152 | | - |
153 | if (output.crtc != 0LTRUE | never evaluated | FALSE | never evaluated |
&& output.mode != 0LTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
154 | xcb_randr_get_output_info_cookie_t outputInfoCookie = | - |
155 | xcb_randr_get_output_info(xcb_connection(), output.output, output.config_timestamp); | - |
156 | QScopedPointer<xcb_randr_get_output_info_reply_t, QScopedPointerPodDeleter> outputInfo( | - |
157 | xcb_randr_get_output_info_reply(xcb_connection(), outputInfoCookie, __null)); | - |
158 | | - |
159 | | - |
160 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(virtualDesktop->screens())>::type> _container_((virtualDesktop->screens())); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (QPlatformScreen *scr = *_container_.i; _container_.control; _container_.control = 0) { | - |
161 | QXcbScreen *xcbScreen = (QXcbScreen *)scr; | - |
162 | if (xcbScreen->output() == 0LTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
163 | screen = xcbScreen; | - |
164 | break; never executed: break; | 0 |
165 | } | - |
166 | } never executed: end of block | 0 |
167 | | - |
168 | if (screenTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
169 | QString nameWas = screen->name(); | - |
170 | | - |
171 | screen->setOutput(output.output, outputInfo.data()); | - |
172 | updateScreen(screen, output); | - |
173 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 259, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output" << screen->name()never executed: QMessageLogger(__FILE__, 259, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output" << screen->name() << "is connected and enabled; was fake:" << nameWas; | 0 |
174 | << "is connected and enabled; was fake:" << nameWas; never executed: QMessageLogger(__FILE__, 259, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output" << screen->name() << "is connected and enabled; was fake:" << nameWas; | 0 |
175 | } never executed: end of block else { | 0 |
176 | screen = createScreen(virtualDesktop, output, outputInfo.data()); | - |
177 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 263, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output" << screen->name() << "is connected and enabled";never executed: QMessageLogger(__FILE__, 263, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output" << screen->name() << "is connected and enabled"; | 0 |
178 | } never executed: end of block | 0 |
179 | QHighDpiScaling::updateHighDpiScaling(); | - |
180 | } never executed: end of block | 0 |
181 | } never executed: end of block else if (screenTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
182 | if (output.crtc == 0LTRUE | never evaluated | FALSE | never evaluated |
&& output.mode == 0LTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
183 | | - |
184 | xcb_randr_get_output_info_cookie_t outputInfoCookie = | - |
185 | xcb_randr_get_output_info(xcb_connection(), output.output, output.config_timestamp); | - |
186 | QScopedPointer<xcb_randr_get_output_info_reply_t, QScopedPointerPodDeleter> outputInfo( | - |
187 | xcb_randr_get_output_info_reply(xcb_connection(), outputInfoCookie, __null)); | - |
188 | if (outputInfo->crtc == 0LTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
189 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 275, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output" << screen->name() << "has been disabled";never executed: QMessageLogger(__FILE__, 275, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output" << screen->name() << "has been disabled"; | 0 |
190 | destroyScreen(screen); | - |
191 | } never executed: end of block else { | 0 |
192 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 278, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output" << screen->name() << "has been temporarily disabled for the mode switch";never executed: QMessageLogger(__FILE__, 278, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output" << screen->name() << "has been temporarily disabled for the mode switch"; | 0 |
193 | | - |
194 | | - |
195 | screen->setCrtc(0L); | - |
196 | } never executed: end of block | 0 |
197 | } else { | - |
198 | updateScreen(screen, output); | - |
199 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 285, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output has changed" << screen;never executed: QMessageLogger(__FILE__, 285, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "output has changed" << screen; | 0 |
200 | } never executed: end of block | 0 |
201 | } | - |
202 | | - |
203 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 289, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "primary output is" << m_screens.first()->name();never executed: QMessageLogger(__FILE__, 289, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "primary output is" << m_screens.first()->name(); | 0 |
204 | } never executed: end of block | 0 |
205 | } never executed: end of block | 0 |
206 | | - |
207 | bool QXcbConnection::checkOutputIsPrimary(xcb_window_t rootWindow, xcb_randr_output_t output) | - |
208 | { | - |
209 | xcb_generic_error_t *error = 0; | - |
210 | xcb_randr_get_output_primary_cookie_t primaryCookie = | - |
211 | xcb_randr_get_output_primary(xcb_connection(), rootWindow); | - |
212 | QScopedPointer<xcb_randr_get_output_primary_reply_t, QScopedPointerPodDeleter> primary ( | - |
213 | xcb_randr_get_output_primary_reply(xcb_connection(), primaryCookie, &error)); | - |
214 | if (!primaryTRUE | never evaluated | FALSE | never evaluated |
|| errorTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
215 | QMessageLogger(__FILE__, 301, __PRETTY_FUNCTION__).warning("failed to get the primary output of the screen"); | - |
216 | free(error); | - |
217 | error = __null; | - |
218 | } never executed: end of block | 0 |
219 | const bool isPrimary = primaryTRUE | never evaluated | FALSE | never evaluated |
? (primary->output == output) : false; | 0 |
220 | | - |
221 | return never executed: return isPrimary; isPrimary;never executed: return isPrimary; | 0 |
222 | } | - |
223 | | - |
224 | void QXcbConnection::updateScreen(QXcbScreen *screen, const xcb_randr_output_change_t &outputChange) | - |
225 | { | - |
226 | screen->setCrtc(outputChange.crtc); | - |
227 | screen->updateGeometry(outputChange.config_timestamp); | - |
228 | if (screen->mode() != outputChange.modeTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
229 | screen->updateRefreshRate(outputChange.mode); never executed: screen->updateRefreshRate(outputChange.mode); | 0 |
230 | | - |
231 | if (screen->screenNumber() == m_primaryScreenNumberTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
232 | if (!screen->isPrimary()TRUE | never evaluated | FALSE | never evaluated |
&& checkOutputIsPrimary(outputChange.window, outputChange.output)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
233 | screen->setPrimary(true); | - |
234 | | - |
235 | | - |
236 | const int idx = m_screens.indexOf(screen); | - |
237 | if (idx > 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
238 | m_screens.first()->setPrimary(false); | - |
239 | m_screens.swap(0, idx); | - |
240 | } never executed: end of block | 0 |
241 | screen->virtualDesktop()->setPrimaryScreen(screen); | - |
242 | QXcbIntegration::instance()->setPrimaryScreen(screen); | - |
243 | } never executed: end of block | 0 |
244 | } never executed: end of block | 0 |
245 | } never executed: end of block | 0 |
246 | | - |
247 | QXcbScreen *QXcbConnection::createScreen(QXcbVirtualDesktop *virtualDesktop, | - |
248 | const xcb_randr_output_change_t &outputChange, | - |
249 | xcb_randr_get_output_info_reply_t *outputInfo) | - |
250 | { | - |
251 | QXcbScreen *screen = new QXcbScreen(this, virtualDesktop, outputChange.output, outputInfo); | - |
252 | | - |
253 | if (screen->screenNumber() == m_primaryScreenNumberTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
254 | screen->setPrimary(checkOutputIsPrimary(outputChange.window, outputChange.output)); never executed: screen->setPrimary(checkOutputIsPrimary(outputChange.window, outputChange.output)); | 0 |
255 | | - |
256 | if (screen->isPrimary()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
257 | if (!m_screens.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
258 | m_screens.first()->setPrimary(false); never executed: m_screens.first()->setPrimary(false); | 0 |
259 | | - |
260 | m_screens.prepend(screen); | - |
261 | } never executed: end of block else { | 0 |
262 | m_screens.append(screen); | - |
263 | } never executed: end of block | 0 |
264 | virtualDesktop->addScreen(screen); | - |
265 | QXcbIntegration::instance()->screenAdded(screen, screen->isPrimary()); | - |
266 | | - |
267 | return never executed: return screen; screen;never executed: return screen; | 0 |
268 | } | - |
269 | | - |
270 | void QXcbConnection::destroyScreen(QXcbScreen *screen) | - |
271 | { | - |
272 | QXcbVirtualDesktop *virtualDesktop = screen->virtualDesktop(); | - |
273 | if (virtualDesktop->screens().count() == 1TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
274 | | - |
275 | | - |
276 | const QString nameWas = screen->name(); | - |
277 | screen->setOutput(0L, nullptr); | - |
278 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 364, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "transformed" << nameWas << "to fake" << screen;never executed: QMessageLogger(__FILE__, 364, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "transformed" << nameWas << "to fake" << screen; | 0 |
279 | } never executed: end of block else { | 0 |
280 | | - |
281 | m_screens.removeOne(screen); | - |
282 | virtualDesktop->removeScreen(screen); | - |
283 | | - |
284 | | - |
285 | | - |
286 | if (screen->isPrimary()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
287 | QXcbScreen *newPrimary = (QXcbScreen *)virtualDesktop->screens().at(0); | - |
288 | newPrimary->setPrimary(true); | - |
289 | const int idx = m_screens.indexOf(newPrimary); | - |
290 | if (idx > 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
291 | m_screens.swap(0, idx); never executed: m_screens.swap(0, idx); | 0 |
292 | QXcbIntegration::instance()->setPrimaryScreen(newPrimary); | - |
293 | } never executed: end of block | 0 |
294 | | - |
295 | QXcbIntegration::instance()->destroyScreen(screen); | - |
296 | } never executed: end of block | 0 |
297 | } | - |
298 | | - |
299 | void QXcbConnection::initializeScreens() | - |
300 | { | - |
301 | xcb_screen_iterator_t it = xcb_setup_roots_iterator(m_setup); | - |
302 | int xcbScreenNumber = 0; | - |
303 | QXcbScreen *primaryScreen = nullptr; | - |
304 | while (it.remTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 129 |
305 | | - |
306 | | - |
307 | | - |
308 | | - |
309 | xcb_screen_t *xcbScreen = it.data; | - |
310 | QXcbVirtualDesktop *virtualDesktop = new QXcbVirtualDesktop(this, xcbScreen, xcbScreenNumber); | - |
311 | m_virtualDesktops.append(virtualDesktop); | - |
312 | QList<QPlatformScreen *> siblings; | - |
313 | if (has_randr_extensionTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-129 |
314 | xcb_generic_error_t *error = __null; | - |
315 | | - |
316 | | - |
317 | | - |
318 | QScopedPointer<xcb_randr_get_screen_resources_reply_t, QScopedPointerPodDeleter> resources; | - |
319 | xcb_randr_get_screen_resources_current_cookie_t resourcesCookie = | - |
320 | xcb_randr_get_screen_resources_current(xcb_connection(), xcbScreen->root); | - |
321 | QScopedPointer<xcb_randr_get_screen_resources_current_reply_t, QScopedPointerPodDeleter> resources_current( | - |
322 | xcb_randr_get_screen_resources_current_reply(xcb_connection(), resourcesCookie, &error)); | - |
323 | if (!resources_currentTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| errorTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
324 | QMessageLogger(__FILE__, 410, __PRETTY_FUNCTION__).warning("failed to get the current screen resources"); | - |
325 | free(error); | - |
326 | } never executed: end of block else { | 0 |
327 | xcb_timestamp_t timestamp; | - |
328 | xcb_randr_output_t *outputs = nullptr; | - |
329 | int outputCount = xcb_randr_get_screen_resources_current_outputs_length(resources_current.data()); | - |
330 | if (outputCountTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-129 |
331 | timestamp = resources_current->config_timestamp; | - |
332 | outputs = xcb_randr_get_screen_resources_current_outputs(resources_current.data()); | - |
333 | }executed 129 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
else { | 129 |
334 | xcb_randr_get_screen_resources_cookie_t resourcesCookie = | - |
335 | xcb_randr_get_screen_resources(xcb_connection(), xcbScreen->root); | - |
336 | resources.reset(xcb_randr_get_screen_resources_reply(xcb_connection(), resourcesCookie, &error)); | - |
337 | if (!resourcesTRUE | never evaluated | FALSE | never evaluated |
|| errorTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
338 | QMessageLogger(__FILE__, 424, __PRETTY_FUNCTION__).warning("failed to get the screen resources"); | - |
339 | free(error); | - |
340 | } never executed: end of block else { | 0 |
341 | timestamp = resources->config_timestamp; | - |
342 | outputCount = xcb_randr_get_screen_resources_outputs_length(resources.data()); | - |
343 | outputs = xcb_randr_get_screen_resources_outputs(resources.data()); | - |
344 | } never executed: end of block | 0 |
345 | } | - |
346 | | - |
347 | if (outputCountTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-129 |
348 | xcb_randr_get_output_primary_cookie_t primaryCookie = | - |
349 | xcb_randr_get_output_primary(xcb_connection(), xcbScreen->root); | - |
350 | QScopedPointer<xcb_randr_get_output_primary_reply_t, QScopedPointerPodDeleter> primary( | - |
351 | xcb_randr_get_output_primary_reply(xcb_connection(), primaryCookie, &error)); | - |
352 | if (!primaryTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| errorTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
353 | QMessageLogger(__FILE__, 439, __PRETTY_FUNCTION__).warning("failed to get the primary output of the screen"); | - |
354 | free(error); | - |
355 | } never executed: end of block else { | 0 |
356 | for (int i = 0; i < outputCountTRUE | evaluated 1032 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; i++) { | 129-1032 |
357 | QScopedPointer<xcb_randr_get_output_info_reply_t, QScopedPointerPodDeleter> output( | - |
358 | xcb_randr_get_output_info_reply(xcb_connection(), | - |
359 | xcb_randr_get_output_info_unchecked(xcb_connection(), outputs[i], timestamp), __null)); | - |
360 | | - |
361 | | - |
362 | if (output == __nullTRUE | never evaluated | FALSE | evaluated 1032 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-1032 |
363 | continue; never executed: continue; | 0 |
364 | | - |
365 | if (output->connection != XCB_RANDR_CONNECTION_CONNECTEDTRUE | evaluated 903 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 129-903 |
366 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 903 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; qt_category_enabled = false) QMessageLogger(never executed: QMessageLogger( __FILE__ , 454 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not connected", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0-903 |
367 | | 0 |
368 | __FILE__ never executed: QMessageLogger( __FILE__ , 454 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not connected", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
369 | , never executed: QMessageLogger( __FILE__ , 454 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not connected", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
370 | | 0 |
371 | 454 never executed: QMessageLogger( __FILE__ , 454 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not connected", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
372 | , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not connected", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) never executed: QMessageLogger( __FILE__ , 454 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not connected", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
373 | | 0 |
374 | ; never executed: QMessageLogger( __FILE__ , 454 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not connected", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
375 | continue;executed 903 times by 5 tests: continue; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 903 |
376 | } | - |
377 | | - |
378 | if (output->crtc == 0LTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
379 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(never executed: QMessageLogger( __FILE__ , 461 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not enabled", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
380 | | 0 |
381 | __FILE__ never executed: QMessageLogger( __FILE__ , 461 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not enabled", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
382 | , never executed: QMessageLogger( __FILE__ , 461 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not enabled", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
383 | | 0 |
384 | 461 never executed: QMessageLogger( __FILE__ , 461 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not enabled", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
385 | , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not enabled", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) never executed: QMessageLogger( __FILE__ , 461 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not enabled", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
386 | | 0 |
387 | ; never executed: QMessageLogger( __FILE__ , 461 , __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug("Output %s is not enabled", QString(QString::fromUtf8((const char*)xcb_randr_get_output_info_name(output.data()), xcb_randr_get_output_info_name_length(output.data()))).toLocal8Bit().constData()) ; | 0 |
388 | continue; never executed: continue; | 0 |
389 | } | - |
390 | | - |
391 | QXcbScreen *screen = new QXcbScreen(this, virtualDesktop, outputs[i], output.data()); | - |
392 | siblings << screen; | - |
393 | m_screens << screen; | - |
394 | | - |
395 | | - |
396 | | - |
397 | | - |
398 | | - |
399 | if (m_primaryScreenNumber == xcbScreenNumberTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-129 |
400 | if (!primaryScreenTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
|| (primaryTRUE | never evaluated | FALSE | never evaluated |
&& outputs[i] == primary->outputTRUE | never evaluated | FALSE | never evaluated |
)) { | 0-129 |
401 | if (primaryScreenTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-129 |
402 | primaryScreen->setPrimary(false); never executed: primaryScreen->setPrimary(false); | 0 |
403 | primaryScreen = screen; | - |
404 | primaryScreen->setPrimary(true); | - |
405 | siblings.prepend(siblings.takeLast()); | - |
406 | }executed 129 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
| 129 |
407 | }executed 129 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
| 129 |
408 | }executed 129 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
| 129 |
409 | }executed 129 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
| 129 |
410 | } | - |
411 | }executed 129 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
| 129 |
412 | } else if (has_xinerama_extensionTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
413 | | - |
414 | xcb_xinerama_query_screens_cookie_t cookie = xcb_xinerama_query_screens(m_connection); | - |
415 | xcb_xinerama_query_screens_reply_t *screens = xcb_xinerama_query_screens_reply(m_connection, | - |
416 | cookie, | - |
417 | nullptr); | - |
418 | if (screensTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
419 | xcb_xinerama_screen_info_iterator_t it = xcb_xinerama_query_screens_screen_info_iterator(screens); | - |
420 | while (it.remTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
421 | xcb_xinerama_screen_info_t *screen_info = it.data; | - |
422 | QXcbScreen *screen = new QXcbScreen(this, virtualDesktop, | - |
423 | 0L, nullptr, | - |
424 | screen_info, it.index); | - |
425 | siblings << screen; | - |
426 | m_screens << screen; | - |
427 | xcb_xinerama_screen_info_next(&it); | - |
428 | } never executed: end of block | 0 |
429 | free(screens); | - |
430 | } never executed: end of block | 0 |
431 | } never executed: end of block | 0 |
432 | if (siblings.isEmpty()TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
433 | | - |
434 | | - |
435 | QXcbScreen *screen = new QXcbScreen(this, virtualDesktop, 0L, nullptr); | - |
436 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 510, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "created fake screen" << screen;never executed: QMessageLogger(__FILE__, 510, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "created fake screen" << screen; | 0 |
437 | m_screens << screen; | - |
438 | if (m_primaryScreenNumber == xcbScreenNumberTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
439 | primaryScreen = screen; | - |
440 | primaryScreen->setPrimary(true); | - |
441 | } never executed: end of block | 0 |
442 | siblings << screen; | - |
443 | } never executed: end of block | 0 |
444 | virtualDesktop->setScreens(siblings); | - |
445 | xcb_screen_next(&it); | - |
446 | ++xcbScreenNumber; | - |
447 | }executed 129 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
| 129 |
448 | | - |
449 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(m_virtualDesktops)>::type> _container_((m_virtualDesktops)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (QXcbVirtualDesktop *virtualDesktop = *_container_.i; _container_.control; _container_.control = 0) | - |
450 | virtualDesktop->subscribeToXFixesSelectionNotify();executed 129 times by 5 tests: virtualDesktop->subscribeToXFixesSelectionNotify(); Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 129 |
451 | | - |
452 | if (m_virtualDesktops.isEmpty()TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
453 | QMessageLogger(__FILE__, 527, __PRETTY_FUNCTION__).fatal("QXcbConnection: no screens available"); | - |
454 | } never executed: end of block else { | 0 |
455 | | - |
456 | if (primaryScreenTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-129 |
457 | if (m_screens.first() != primaryScreenTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
458 | m_screens.removeOne(primaryScreen); | - |
459 | m_screens.prepend(primaryScreen); | - |
460 | } never executed: end of block | 0 |
461 | }executed 129 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
| 129 |
462 | | - |
463 | | - |
464 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(m_screens)>::type> _container_((m_screens)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (QXcbScreen *screen = *_container_.i; _container_.control; _container_.control = 0) { | - |
465 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 539, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "adding" << screen << "(Primary:" << screen->isPrimary() << ")";never executed: QMessageLogger(__FILE__, 539, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "adding" << screen << "(Primary:" << screen->isPrimary() << ")"; | 0-129 |
466 | QXcbIntegration::instance()->screenAdded(screen, screen->isPrimary()); | - |
467 | }executed 129 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
| 129 |
468 | | - |
469 | for (bool qt_category_enabled = lcQpaScreen().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 543, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "primary output is" << m_screens.first()->name();never executed: QMessageLogger(__FILE__, 543, __PRETTY_FUNCTION__, lcQpaScreen().categoryName()).debug() << "primary output is" << m_screens.first()->name(); | 0-129 |
470 | }executed 129 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
| 129 |
471 | } | - |
472 | | - |
473 | QXcbConnection::QXcbConnection(QXcbNativeInterface *nativeInterface, bool canGrabServer, xcb_visualid_t defaultVisualId, const char *displayName) | - |
474 | : m_connection(0) | - |
475 | , m_canGrabServer(canGrabServer) | - |
476 | , m_defaultVisualId(defaultVisualId) | - |
477 | , m_primaryScreenNumber(0) | - |
478 | , m_displayName(displayName ? QByteArray(displayName) : qgetenv("DISPLAY")) | - |
479 | , m_nativeInterface(nativeInterface) | - |
480 | | - |
481 | , m_xlib_display(0) | - |
482 | | - |
483 | , xfixes_first_event(0) | - |
484 | , xrandr_first_event(0) | - |
485 | , xkb_first_event(0) | - |
486 | , has_xinerama_extension(false) | - |
487 | , has_shape_extension(false) | - |
488 | , has_randr_extension(false) | - |
489 | , has_input_shape(false) | - |
490 | , has_xkb(false) | - |
491 | , m_buttons(0) | - |
492 | , m_focusWindow(0) | - |
493 | , m_mouseGrabber(0) | - |
494 | , m_mousePressWindow(0) | - |
495 | , m_clientLeader(0) | - |
496 | , m_systemTrayTracker(0) | - |
497 | , m_glIntegration(nullptr) | - |
498 | , m_xiGrab(false) | - |
499 | , m_qtSelectionOwner(0) | - |
500 | { | - |
501 | | - |
502 | Display *dpy = XOpenDisplay(m_displayName.constData()); | - |
503 | if (dpyTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-129 |
504 | m_primaryScreenNumber = (((_XPrivDisplay)dpy)->default_screen); | - |
505 | m_connection = XGetXCBConnection(dpy); | - |
506 | XSetEventQueueOwner(dpy, XCBOwnsEventQueue); | - |
507 | XSetErrorHandler(nullErrorHandler); | - |
508 | XSetIOErrorHandler(ioErrorHandler); | - |
509 | m_xlib_display = dpy; | - |
510 | }executed 129 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
| 129 |
511 | | - |
512 | | - |
513 | | - |
514 | | - |
515 | if (!m_connectionTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| xcb_connection_has_error(m_connection)TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-129 |
516 | QMessageLogger(__FILE__, 590, __PRETTY_FUNCTION__).fatal("QXcbConnection: Could not connect to display %s", m_displayName.constData()); never executed: QMessageLogger(__FILE__, 590, __PRETTY_FUNCTION__).fatal("QXcbConnection: Could not connect to display %s", m_displayName.constData()); | 0 |
517 | | - |
518 | | - |
519 | m_reader = new QXcbEventReader(this); | - |
520 | m_reader->start(); | - |
521 | | - |
522 | xcb_extension_t *extensions[] = { | - |
523 | &xcb_shm_id, &xcb_xfixes_id, &xcb_randr_id, &xcb_shape_id, &xcb_sync_id, | - |
524 | | - |
525 | &xcb_xkb_id, | - |
526 | | - |
527 | | - |
528 | &xcb_render_id, | - |
529 | | - |
530 | 0 | - |
531 | }; | - |
532 | | - |
533 | for (xcb_extension_t **ext_it = extensions; *TRUE | evaluated 903 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
ext_itTRUE | evaluated 903 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; ++ext_it) | 129-903 |
534 | xcb_prefetch_extension_data (m_connection, *ext_it);executed 903 times by 5 tests: xcb_prefetch_extension_data (m_connection, *ext_it); Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 903 |
535 | | - |
536 | m_setup = xcb_get_setup(xcb_connection()); | - |
537 | | - |
538 | initializeAllAtoms(); | - |
539 | | - |
540 | m_time = 0L; | - |
541 | m_netWmUserTime = 0L; | - |
542 | | - |
543 | if (!qEnvironmentVariableIsSet("QT_XCB_NO_XRANDR")TRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-129 |
544 | initializeXRandr();executed 129 times by 5 tests: initializeXRandr(); Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 129 |
545 | if (!has_randr_extensionTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-129 |
546 | initializeXinerama(); never executed: initializeXinerama(); | 0 |
547 | initializeXFixes(); | - |
548 | initializeScreens(); | - |
549 | | - |
550 | initializeXRender(); | - |
551 | | - |
552 | m_xi2Enabled = false; | - |
553 | if (!qEnvironmentVariableIsSet("QT_XCB_NO_XI2")TRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-129 |
554 | initializeXInput2();executed 129 times by 5 tests: initializeXInput2(); Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 129 |
555 | | - |
556 | initializeXShape(); | - |
557 | initializeXKB(); | - |
558 | | - |
559 | m_wmSupport.reset(new QXcbWMSupport(this)); | - |
560 | m_keyboard = new QXcbKeyboard(this); | - |
561 | | - |
562 | m_clipboard = new QXcbClipboard(this); | - |
563 | | - |
564 | | - |
565 | m_drag = new QXcbDrag(this); | - |
566 | | - |
567 | | - |
568 | m_startupId = qgetenv("DESKTOP_STARTUP_ID"); | - |
569 | if (!m_startupId.isNull()TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-129 |
570 | qunsetenv("DESKTOP_STARTUP_ID"); never executed: qunsetenv("DESKTOP_STARTUP_ID"); | 0 |
571 | | - |
572 | | - |
573 | QStringList glIntegrationNames; | - |
574 | glIntegrationNames << ([]() -> QString { enum { Size = sizeof(u"" "xcb_glx")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "xcb_glx" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 129 times by 5 tests: return qstring_literal_temp; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
qstring_literal_temp;executed 129 times by 5 tests: return qstring_literal_temp; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
}()) << ([]() -> QString { enum { Size = sizeof(u"" "xcb_egl")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "xcb_egl" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 129 times by 5 tests: return qstring_literal_temp; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
qstring_literal_temp;executed 129 times by 5 tests: return qstring_literal_temp; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
}()); | 129 |
575 | QString glIntegrationName = QString::fromLocal8Bit(qgetenv("QT_XCB_GL_INTEGRATION")); | - |
576 | if (!glIntegrationName.isEmpty()TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
577 | for (bool qt_category_enabled = QT_XCB_GLINTEGRATION().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 651, __PRETTY_FUNCTION__, QT_XCB_GLINTEGRATION().categoryName()).debug() << "QT_XCB_GL_INTEGRATION is set to" << glIntegrationName;never executed: QMessageLogger(__FILE__, 651, __PRETTY_FUNCTION__, QT_XCB_GLINTEGRATION().categoryName()).debug() << "QT_XCB_GL_INTEGRATION is set to" << glIntegrationName; | 0 |
578 | if (glIntegrationName != QLatin1String("none")TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
579 | glIntegrationNames.removeAll(glIntegrationName); | - |
580 | glIntegrationNames.prepend(glIntegrationName); | - |
581 | } never executed: end of block else { | 0 |
582 | glIntegrationNames.clear(); | - |
583 | } never executed: end of block | 0 |
584 | } | - |
585 | | - |
586 | for (bool qt_category_enabled = QT_XCB_GLINTEGRATION().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 660, __PRETTY_FUNCTION__, QT_XCB_GLINTEGRATION().categoryName()).debug() << "Choosing xcb gl-integration based on following priority\n" << glIntegrationNames;never executed: QMessageLogger(__FILE__, 660, __PRETTY_FUNCTION__, QT_XCB_GLINTEGRATION().categoryName()).debug() << "Choosing xcb gl-integration based on following priority\n" << glIntegrationNames; | 0-129 |
587 | for (int i = 0; i < glIntegrationNames.size()TRUE | evaluated 258 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
&& !m_glIntegrationTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; i++) { | 0-258 |
588 | m_glIntegration = QXcbGlIntegrationFactory::create(glIntegrationNames.at(i)); | - |
589 | if (m_glIntegrationTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
&& !m_glIntegration->initialize(this)TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
590 | for (bool qt_category_enabled = QT_XCB_GLINTEGRATION().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 664, __PRETTY_FUNCTION__, QT_XCB_GLINTEGRATION().categoryName()).debug() << "Failed to initialize xcb gl-integration" << glIntegrationNames.at(i);never executed: QMessageLogger(__FILE__, 664, __PRETTY_FUNCTION__, QT_XCB_GLINTEGRATION().categoryName()).debug() << "Failed to initialize xcb gl-integration" << glIntegrationNames.at(i); | 0 |
591 | delete m_glIntegration; | - |
592 | m_glIntegration = nullptr; | - |
593 | } never executed: end of block | 0 |
594 | }executed 129 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
| 129 |
595 | if (!m_glIntegrationTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-129 |
596 | for (bool qt_category_enabled = QT_XCB_GLINTEGRATION().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 670, __PRETTY_FUNCTION__, QT_XCB_GLINTEGRATION().categoryName()).debug() << "Failed to create xcb gl-integration";never executed: QMessageLogger(__FILE__, 670, __PRETTY_FUNCTION__, QT_XCB_GLINTEGRATION().categoryName()).debug() << "Failed to create xcb gl-integration"; | 0 |
597 | | - |
598 | sync(); | - |
599 | }executed 129 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
| 129 |
600 | | - |
601 | QXcbConnection::~QXcbConnection() | - |
602 | { | - |
603 | | - |
604 | delete m_clipboard; | - |
605 | | - |
606 | | - |
607 | delete m_drag; | - |
608 | | - |
609 | | - |
610 | | - |
611 | finalizeXInput2(); | - |
612 | | - |
613 | | - |
614 | if (m_reader->isRunning()TRUE | evaluated 341 times by 220 testsEvaluated 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
- ...
| FALSE | never evaluated |
) { | 0-341 |
615 | sendConnectionEvent(QXcbAtom::_QT_CLOSE_CONNECTION); | - |
616 | m_reader->wait(); | - |
617 | }executed 341 times by 220 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
- ...
| 341 |
618 | | - |
619 | delete m_reader; | - |
620 | | - |
621 | QXcbIntegration *integration = QXcbIntegration::instance(); | - |
622 | | - |
623 | while (!m_screens.isEmpty()TRUE | evaluated 341 times by 220 testsEvaluated 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
- ...
| FALSE | evaluated 341 times by 220 testsEvaluated 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
- ...
|
) | 341 |
624 | integration->destroyScreen(m_screens.takeLast());executed 341 times by 220 tests: integration->destroyScreen(m_screens.takeLast()); 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
- ...
| 341 |
625 | | - |
626 | while (!m_virtualDesktops.isEmpty()TRUE | evaluated 341 times by 220 testsEvaluated 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
- ...
| FALSE | evaluated 341 times by 220 testsEvaluated 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
- ...
|
) | 341 |
627 | delete m_virtualDesktops.takeLast();executed 341 times by 220 tests: delete m_virtualDesktops.takeLast(); 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
- ...
| 341 |
628 | | - |
629 | delete m_glIntegration; | - |
630 | | - |
631 | | - |
632 | XCloseDisplay((Display *)m_xlib_display); | - |
633 | | - |
634 | | - |
635 | | - |
636 | | - |
637 | delete m_keyboard; | - |
638 | }executed 341 times by 220 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
- ...
| 341 |
639 | | - |
640 | QXcbScreen *QXcbConnection::primaryScreen() const | - |
641 | { | - |
642 | if (!m_screens.isEmpty()TRUE | evaluated 4739 times by 139 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- ...
| FALSE | never evaluated |
) { | 0-4739 |
643 | ((!(m_screens.first()->screenNumber() == primaryScreenNumber())) ? qt_assert("m_screens.first()->screenNumber() == primaryScreenNumber()",__FILE__,717) : qt_noop()); | - |
644 | returnexecuted 4739 times by 139 tests: return m_screens.first(); Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- ...
m_screens.first();executed 4739 times by 139 tests: return m_screens.first(); Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- ...
| 4739 |
645 | } | - |
646 | | - |
647 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
648 | } | - |
649 | | - |
650 | void QXcbConnection::addWindowEventListener(xcb_window_t id, QXcbWindowEventListener *eventListener) | - |
651 | { | - |
652 | m_mapper.insert(id, eventListener); | - |
653 | }executed 4461 times by 128 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4461 |
654 | | - |
655 | void QXcbConnection::removeWindowEventListener(xcb_window_t id) | - |
656 | { | - |
657 | m_mapper.remove(id); | - |
658 | }executed 4453 times by 239 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4453 |
659 | | - |
660 | QXcbWindowEventListener *QXcbConnection::windowEventListenerFromId(xcb_window_t id) | - |
661 | { | - |
662 | returnexecuted 231939 times by 113 tests: return m_mapper.value(id, 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
- ...
m_mapper.value(id, 0);executed 231939 times by 113 tests: return m_mapper.value(id, 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
- ...
| 231939 |
663 | } | - |
664 | | - |
665 | QXcbWindow *QXcbConnection::platformWindowFromId(xcb_window_t id) | - |
666 | { | - |
667 | QXcbWindowEventListener *listener = m_mapper.value(id, 0); | - |
668 | if (listenerTRUE | evaluated 3315 times by 94 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | evaluated 1146 times by 64 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
|
) | 1146-3315 |
669 | returnexecuted 3315 times by 94 tests: return listener->toWindow(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
listener->toWindow();executed 3315 times by 94 tests: return listener->toWindow(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 3315 |
670 | returnexecuted 1146 times by 64 tests: return 0; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
0;executed 1146 times by 64 tests: return 0; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
| 1146 |
671 | } | - |
672 | void printXcbEvent(const char *message, xcb_generic_event_t *event) | - |
673 | { | - |
674 | (void)message;; | - |
675 | (void)event;; | - |
676 | | - |
677 | }executed 240621 times by 117 tests: end of block 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
- ...
| 240621 |
678 | | - |
679 | const char *xcb_errors[] = | - |
680 | { | - |
681 | "Success", | - |
682 | "BadRequest", | - |
683 | "BadValue", | - |
684 | "BadWindow", | - |
685 | "BadPixmap", | - |
686 | "BadAtom", | - |
687 | "BadCursor", | - |
688 | "BadFont", | - |
689 | "BadMatch", | - |
690 | "BadDrawable", | - |
691 | "BadAccess", | - |
692 | "BadAlloc", | - |
693 | "BadColor", | - |
694 | "BadGC", | - |
695 | "BadIDChoice", | - |
696 | "BadName", | - |
697 | "BadLength", | - |
698 | "BadImplementation", | - |
699 | "Unknown" | - |
700 | }; | - |
701 | | - |
702 | const char *xcb_protocol_request_codes[] = | - |
703 | { | - |
704 | "Null", | - |
705 | "CreateWindow", | - |
706 | "ChangeWindowAttributes", | - |
707 | "GetWindowAttributes", | - |
708 | "DestroyWindow", | - |
709 | "DestroySubwindows", | - |
710 | "ChangeSaveSet", | - |
711 | "ReparentWindow", | - |
712 | "MapWindow", | - |
713 | "MapSubwindows", | - |
714 | "UnmapWindow", | - |
715 | "UnmapSubwindows", | - |
716 | "ConfigureWindow", | - |
717 | "CirculateWindow", | - |
718 | "GetGeometry", | - |
719 | "QueryTree", | - |
720 | "InternAtom", | - |
721 | "GetAtomName", | - |
722 | "ChangeProperty", | - |
723 | "DeleteProperty", | - |
724 | "GetProperty", | - |
725 | "ListProperties", | - |
726 | "SetSelectionOwner", | - |
727 | "GetSelectionOwner", | - |
728 | "ConvertSelection", | - |
729 | "SendEvent", | - |
730 | "GrabPointer", | - |
731 | "UngrabPointer", | - |
732 | "GrabButton", | - |
733 | "UngrabButton", | - |
734 | "ChangeActivePointerGrab", | - |
735 | "GrabKeyboard", | - |
736 | "UngrabKeyboard", | - |
737 | "GrabKey", | - |
738 | "UngrabKey", | - |
739 | "AllowEvents", | - |
740 | "GrabServer", | - |
741 | "UngrabServer", | - |
742 | "QueryPointer", | - |
743 | "GetMotionEvents", | - |
744 | "TranslateCoords", | - |
745 | "WarpPointer", | - |
746 | "SetInputFocus", | - |
747 | "GetInputFocus", | - |
748 | "QueryKeymap", | - |
749 | "OpenFont", | - |
750 | "CloseFont", | - |
751 | "QueryFont", | - |
752 | "QueryTextExtents", | - |
753 | "ListFonts", | - |
754 | "ListFontsWithInfo", | - |
755 | "SetFontPath", | - |
756 | "GetFontPath", | - |
757 | "CreatePixmap", | - |
758 | "FreePixmap", | - |
759 | "CreateGC", | - |
760 | "ChangeGC", | - |
761 | "CopyGC", | - |
762 | "SetDashes", | - |
763 | "SetClipRectangles", | - |
764 | "FreeGC", | - |
765 | "ClearArea", | - |
766 | "CopyArea", | - |
767 | "CopyPlane", | - |
768 | "PolyPoint", | - |
769 | "PolyLine", | - |
770 | "PolySegment", | - |
771 | "PolyRectangle", | - |
772 | "PolyArc", | - |
773 | "FillPoly", | - |
774 | "PolyFillRectangle", | - |
775 | "PolyFillArc", | - |
776 | "PutImage", | - |
777 | "GetImage", | - |
778 | "PolyText8", | - |
779 | "PolyText16", | - |
780 | "ImageText8", | - |
781 | "ImageText16", | - |
782 | "CreateColormap", | - |
783 | "FreeColormap", | - |
784 | "CopyColormapAndFree", | - |
785 | "InstallColormap", | - |
786 | "UninstallColormap", | - |
787 | "ListInstalledColormaps", | - |
788 | "AllocColor", | - |
789 | "AllocNamedColor", | - |
790 | "AllocColorCells", | - |
791 | "AllocColorPlanes", | - |
792 | "FreeColors", | - |
793 | "StoreColors", | - |
794 | "StoreNamedColor", | - |
795 | "QueryColors", | - |
796 | "LookupColor", | - |
797 | "CreateCursor", | - |
798 | "CreateGlyphCursor", | - |
799 | "FreeCursor", | - |
800 | "RecolorCursor", | - |
801 | "QueryBestSize", | - |
802 | "QueryExtension", | - |
803 | "ListExtensions", | - |
804 | "ChangeKeyboardMapping", | - |
805 | "GetKeyboardMapping", | - |
806 | "ChangeKeyboardControl", | - |
807 | "GetKeyboardControl", | - |
808 | "Bell", | - |
809 | "ChangePointerControl", | - |
810 | "GetPointerControl", | - |
811 | "SetScreenSaver", | - |
812 | "GetScreenSaver", | - |
813 | "ChangeHosts", | - |
814 | "ListHosts", | - |
815 | "SetAccessControl", | - |
816 | "SetCloseDownMode", | - |
817 | "KillClient", | - |
818 | "RotateProperties", | - |
819 | "ForceScreenSaver", | - |
820 | "SetPointerMapping", | - |
821 | "GetPointerMapping", | - |
822 | "SetModifierMapping", | - |
823 | "GetModifierMapping", | - |
824 | "Unknown" | - |
825 | }; | - |
826 | void QXcbConnection::handleXcbError(xcb_generic_error_t *error) | - |
827 | { | - |
828 | long result = 0; | - |
829 | QAbstractEventDispatcher* dispatcher = QAbstractEventDispatcher::instance(); | - |
830 | if (dispatcherTRUE | never evaluated | FALSE | never evaluated |
&& dispatcher->filterNativeEvent(m_nativeInterface->genericEventFilterType(), error, &result)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
831 | return; never executed: return; | 0 |
832 | | - |
833 | uint clamped_error_code = qMin<uint>(error->error_code, (sizeof(xcb_errors) / sizeof(xcb_errors[0])) - 1); | - |
834 | uint clamped_major_code = qMin<uint>(error->major_code, (sizeof(xcb_protocol_request_codes) / sizeof(xcb_protocol_request_codes[0])) - 1); | - |
835 | | - |
836 | QMessageLogger(__FILE__, 993, __PRETTY_FUNCTION__).warning("QXcbConnection: XCB error: %d (%s), sequence: %d, resource id: %d, major code: %d (%s), minor code: %d", | - |
837 | int(error->error_code), xcb_errors[clamped_error_code], | - |
838 | int(error->sequence), int(error->resource_id), | - |
839 | int(error->major_code), xcb_protocol_request_codes[clamped_major_code], | - |
840 | int(error->minor_code)); | - |
841 | } never executed: end of block | 0 |
842 | | - |
843 | static Qt::MouseButtons translateMouseButtons(int s) | - |
844 | { | - |
845 | Qt::MouseButtons ret = 0; | - |
846 | if (s & XCB_BUTTON_MASK_1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
847 | ret |= Qt::LeftButton; never executed: ret |= Qt::LeftButton; | 0 |
848 | if (s & XCB_BUTTON_MASK_2TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
849 | ret |= Qt::MidButton; never executed: ret |= Qt::MidButton; | 0 |
850 | if (s & XCB_BUTTON_MASK_3TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
851 | ret |= Qt::RightButton; never executed: ret |= Qt::RightButton; | 0 |
852 | return never executed: return ret; ret;never executed: return ret; | 0 |
853 | } | - |
854 | | - |
855 | Qt::MouseButton QXcbConnection::translateMouseButton(xcb_button_t s) | - |
856 | { | - |
857 | switch (s) { | - |
858 | caseexecuted 386 times by 17 tests: case 1: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
1:executed 386 times by 17 tests: case 1: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::LeftButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::LeftButton;executed 386 times by 17 tests: return Qt::LeftButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
859 | caseexecuted 386 times by 17 tests: case 2: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
2:executed 386 times by 17 tests: case 2: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::MidButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::MidButton;executed 386 times by 17 tests: return Qt::MidButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
860 | caseexecuted 386 times by 17 tests: case 3: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
3:executed 386 times by 17 tests: case 3: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::RightButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::RightButton;executed 386 times by 17 tests: return Qt::RightButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
861 | | - |
862 | caseexecuted 386 times by 17 tests: case 8: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
8:executed 386 times by 17 tests: case 8: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::BackButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::BackButton;executed 386 times by 17 tests: return Qt::BackButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
863 | caseexecuted 386 times by 17 tests: case 9: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
9:executed 386 times by 17 tests: case 9: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::ForwardButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::ForwardButton;executed 386 times by 17 tests: return Qt::ForwardButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
864 | caseexecuted 386 times by 17 tests: case 10: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
10:executed 386 times by 17 tests: case 10: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::ExtraButton3; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::ExtraButton3;executed 386 times by 17 tests: return Qt::ExtraButton3; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
865 | caseexecuted 386 times by 17 tests: case 11: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
11:executed 386 times by 17 tests: case 11: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::ExtraButton4; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::ExtraButton4;executed 386 times by 17 tests: return Qt::ExtraButton4; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
866 | caseexecuted 386 times by 17 tests: case 12: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
12:executed 386 times by 17 tests: case 12: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::ExtraButton5; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::ExtraButton5;executed 386 times by 17 tests: return Qt::ExtraButton5; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
867 | caseexecuted 386 times by 17 tests: case 13: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
13:executed 386 times by 17 tests: case 13: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::ExtraButton6; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::ExtraButton6;executed 386 times by 17 tests: return Qt::ExtraButton6; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
868 | caseexecuted 386 times by 17 tests: case 14: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
14:executed 386 times by 17 tests: case 14: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::ExtraButton7; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::ExtraButton7;executed 386 times by 17 tests: return Qt::ExtraButton7; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
869 | caseexecuted 386 times by 17 tests: case 15: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
15:executed 386 times by 17 tests: case 15: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 386 times by 17 tests: return Qt::ExtraButton8; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::ExtraButton8;executed 386 times by 17 tests: return Qt::ExtraButton8; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 386 |
870 | case never executed: case 16: 16:never executed: case 16: returnnever executed: return Qt::ExtraButton9; Qt::ExtraButton9;never executed: return Qt::ExtraButton9; | 0 |
871 | case never executed: case 17: 17:never executed: case 17: returnnever executed: return Qt::ExtraButton10; Qt::ExtraButton10;never executed: return Qt::ExtraButton10; | 0 |
872 | case never executed: case 18: 18:never executed: case 18: returnnever executed: return Qt::ExtraButton11; Qt::ExtraButton11;never executed: return Qt::ExtraButton11; | 0 |
873 | case never executed: case 19: 19:never executed: case 19: returnnever executed: return Qt::ExtraButton12; Qt::ExtraButton12;never executed: return Qt::ExtraButton12; | 0 |
874 | case never executed: case 20: 20:never executed: case 20: returnnever executed: return Qt::ExtraButton13; Qt::ExtraButton13;never executed: return Qt::ExtraButton13; | 0 |
875 | case never executed: case 21: 21:never executed: case 21: returnnever executed: return Qt::ExtraButton14; Qt::ExtraButton14;never executed: return Qt::ExtraButton14; | 0 |
876 | case never executed: case 22: 22:never executed: case 22: returnnever executed: return Qt::ExtraButton15; Qt::ExtraButton15;never executed: return Qt::ExtraButton15; | 0 |
877 | case never executed: case 23: 23:never executed: case 23: returnnever executed: return Qt::ExtraButton16; Qt::ExtraButton16;never executed: return Qt::ExtraButton16; | 0 |
878 | case never executed: case 24: 24:never executed: case 24: returnnever executed: return Qt::ExtraButton17; Qt::ExtraButton17;never executed: return Qt::ExtraButton17; | 0 |
879 | case never executed: case 25: 25:never executed: case 25: returnnever executed: return Qt::ExtraButton18; Qt::ExtraButton18;never executed: return Qt::ExtraButton18; | 0 |
880 | case never executed: case 26: 26:never executed: case 26: returnnever executed: return Qt::ExtraButton19; Qt::ExtraButton19;never executed: return Qt::ExtraButton19; | 0 |
881 | case never executed: case 27: 27:never executed: case 27: returnnever executed: return Qt::ExtraButton20; Qt::ExtraButton20;never executed: return Qt::ExtraButton20; | 0 |
882 | case never executed: case 28: 28:never executed: case 28: returnnever executed: return Qt::ExtraButton21; Qt::ExtraButton21;never executed: return Qt::ExtraButton21; | 0 |
883 | case never executed: case 29: 29:never executed: case 29: returnnever executed: return Qt::ExtraButton22; Qt::ExtraButton22;never executed: return Qt::ExtraButton22; | 0 |
884 | case never executed: case 30: 30:never executed: case 30: returnnever executed: return Qt::ExtraButton23; Qt::ExtraButton23;never executed: return Qt::ExtraButton23; | 0 |
885 | case never executed: case 31: 31:never executed: case 31: returnnever executed: return Qt::ExtraButton24; Qt::ExtraButton24;never executed: return Qt::ExtraButton24; | 0 |
886 | defaultexecuted 1544 times by 17 tests: default: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
:executed 1544 times by 17 tests: default: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
returnexecuted 1544 times by 17 tests: return Qt::NoButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
Qt::NoButton;executed 1544 times by 17 tests: return Qt::NoButton; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 1544 |
887 | } | - |
888 | } | - |
889 | | - |
890 | | - |
891 | namespace { | - |
892 | typedef union { | - |
893 | | - |
894 | struct { | - |
895 | uint8_t response_type; | - |
896 | uint8_t xkbType; | - |
897 | uint16_t sequence; | - |
898 | xcb_timestamp_t time; | - |
899 | uint8_t deviceID; | - |
900 | } any; | - |
901 | xcb_xkb_new_keyboard_notify_event_t new_keyboard_notify; | - |
902 | xcb_xkb_map_notify_event_t map_notify; | - |
903 | xcb_xkb_state_notify_event_t state_notify; | - |
904 | } _xkb_event; | - |
905 | } | - |
906 | | - |
907 | | - |
908 | void QXcbConnection::handleXcbEvent(xcb_generic_event_t *event) | - |
909 | { | - |
910 | long result = 0; | - |
911 | QAbstractEventDispatcher* dispatcher = QAbstractEventDispatcher::instance(); | - |
912 | bool handled = dispatcherTRUE | evaluated 240611 times by 113 testsEvaluated 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
- ...
| FALSE | evaluated 10 times by 5 testsEvaluated by:- tst_QApplication
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qtextedit - unknown status
|
&& dispatcher->filterNativeEvent(m_nativeInterface->genericEventFilterType(), event, &result)TRUE | never evaluated | FALSE | evaluated 240611 times by 113 testsEvaluated 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
- ...
|
; | 0-240611 |
913 | | - |
914 | uint response_type = event->response_type & ~0x80; | - |
915 | | - |
916 | if (!handledTRUE | evaluated 240621 times by 117 testsEvaluated 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
- ...
| FALSE | never evaluated |
) { | 0-240621 |
917 | switch (response_type) { | - |
918 | caseexecuted 651 times by 43 tests: case 12: Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QPainter
- ...
12:executed 651 times by 43 tests: case 12: Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QPainter
- ...
| 651 |
919 | { xcb_expose_event_t *e = (xcb_expose_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->window)TRUE | evaluated 323 times by 20 testsEvaluated by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QDialog
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMessageBox
- tst_QOpenGLWindow
- tst_QPushButton
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
- tst_languageChange
| FALSE | evaluated 328 times by 37 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPlainTextEdit
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
|
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | evaluated 323 times by 20 testsEvaluated by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QDialog
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMessageBox
- tst_QOpenGLWindow
- tst_QPushButton
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
- tst_languageChange
| FALSE | never evaluated |
) eventListener->handleExposeEvent(e);executed 323 times by 20 tests: eventListener->handleExposeEvent(e); Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QDialog
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMessageBox
- tst_QOpenGLWindow
- tst_QPushButton
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
- tst_languageChange
}executed 323 times by 20 tests: end of block Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QCompleter
- tst_QDialog
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMessageBox
- tst_QOpenGLWindow
- tst_QPushButton
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
- tst_languageChange
} break;executed 651 times by 43 tests: break; Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QPainter
- ...
; | 0-651 |
920 | | - |
921 | | - |
922 | case never executed: case 4: 4:never executed: case 4: { | 0 |
923 | xcb_button_press_event_t *ev = (xcb_button_press_event_t *)event; | - |
924 | m_keyboard->updateXKBStateFromCore(ev->state); | - |
925 | | - |
926 | | - |
927 | m_buttons = (m_buttons & ~0x7) | translateMouseButtons(ev->state); | - |
928 | m_buttons |= translateMouseButton(ev->detail); | - |
929 | if (__builtin_expect(!!(lcQpaXInputEvents().isDebugEnabled()), false)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
930 | for (bool qt_category_enabled = lcQpaXInputEvents().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 1115, __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse press, button %d state %X", ev->detail, static_cast<unsigned int>(m_buttons));never executed: QMessageLogger(__FILE__, 1115, __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse press, button %d state %X", ev->detail, static_cast<unsigned int>(m_buttons)); | 0 |
931 | { xcb_button_press_event_t *e = (xcb_button_press_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | never evaluated | FALSE | never evaluated |
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | never evaluated | FALSE | never evaluated |
) eventListener->handleButtonPressEvent(e);never executed: eventListener->handleButtonPressEvent(e); }never executed: end of block } break;never executed: break; ; | 0 |
932 | } | - |
933 | case never executed: case 5: 5:never executed: case 5: { | 0 |
934 | xcb_button_release_event_t *ev = (xcb_button_release_event_t *)event; | - |
935 | m_keyboard->updateXKBStateFromCore(ev->state); | - |
936 | m_buttons = (m_buttons & ~0x7) | translateMouseButtons(ev->state); | - |
937 | m_buttons &= ~translateMouseButton(ev->detail); | - |
938 | if (__builtin_expect(!!(lcQpaXInputEvents().isDebugEnabled()), false)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
939 | for (bool qt_category_enabled = lcQpaXInputEvents().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 1124, __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse release, button %d state %X", ev->detail, static_cast<unsigned int>(m_buttons));never executed: QMessageLogger(__FILE__, 1124, __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse release, button %d state %X", ev->detail, static_cast<unsigned int>(m_buttons)); | 0 |
940 | { xcb_button_release_event_t *e = (xcb_button_release_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | never evaluated | FALSE | never evaluated |
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | never evaluated | FALSE | never evaluated |
) eventListener->handleButtonReleaseEvent(e);never executed: eventListener->handleButtonReleaseEvent(e); }never executed: end of block } break;never executed: break; ; | 0 |
941 | } | - |
942 | case never executed: case 6: 6:never executed: case 6: { | 0 |
943 | xcb_motion_notify_event_t *ev = (xcb_motion_notify_event_t *)event; | - |
944 | m_keyboard->updateXKBStateFromCore(ev->state); | - |
945 | m_buttons = (m_buttons & ~0x7) | translateMouseButtons(ev->state); | - |
946 | if (__builtin_expect(!!(lcQpaXInputEvents().isDebugEnabled()), false)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
947 | for (bool qt_category_enabled = lcQpaXInputEvents().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(never executed: QMessageLogger( __FILE__ , 1133 , __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse move %d,%d button %d state %X", ev->event_x, ev->event_y, ev->detail, static_cast<unsigned int>(m_buttons)) ; | 0 |
948 | __FILE__ never executed: QMessageLogger( __FILE__ , 1133 , __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse move %d,%d button %d state %X", ev->event_x, ev->event_y, ev->detail, static_cast<unsigned int>(m_buttons)) ; | 0 |
949 | , never executed: QMessageLogger( __FILE__ , 1133 , __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse move %d,%d button %d state %X", ev->event_x, ev->event_y, ev->detail, static_cast<unsigned int>(m_buttons)) ; | 0 |
950 | 1133 never executed: QMessageLogger( __FILE__ , 1133 , __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse move %d,%d button %d state %X", ev->event_x, ev->event_y, ev->detail, static_cast<unsigned int>(m_buttons)) ; | 0 |
951 | , __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse move %d,%d button %d state %X", ev->event_x, ev->event_y, ev->detail, static_cast<unsigned int>(m_buttons)) never executed: QMessageLogger( __FILE__ , 1133 , __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse move %d,%d button %d state %X", ev->event_x, ev->event_y, ev->detail, static_cast<unsigned int>(m_buttons)) ; | 0 |
952 | ; never executed: QMessageLogger( __FILE__ , 1133 , __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("legacy mouse move %d,%d button %d state %X", ev->event_x, ev->event_y, ev->detail, static_cast<unsigned int>(m_buttons)) ; | 0 |
953 | { xcb_motion_notify_event_t *e = (xcb_motion_notify_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | never evaluated | FALSE | never evaluated |
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | never evaluated | FALSE | never evaluated |
) eventListener->handleMotionNotifyEvent(e);never executed: eventListener->handleMotionNotifyEvent(e); }never executed: end of block } break;never executed: break; ; | 0 |
954 | } | - |
955 | | - |
956 | caseexecuted 6535 times by 109 tests: case 22: 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
22:executed 6535 times by 109 tests: case 22: 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 6535 |
957 | { xcb_configure_notify_event_t *e = (xcb_configure_notify_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | evaluated 5816 times by 108 testsEvaluated 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
- ...
| FALSE | evaluated 719 times by 68 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFormLayout
- tst_QGraphicsAnchorLayout
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
|
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | evaluated 5816 times by 108 testsEvaluated 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
- ...
| FALSE | never evaluated |
) eventListener->handleConfigureNotifyEvent(e);executed 5816 times by 108 tests: eventListener->handleConfigureNotifyEvent(e); 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
- ...
}executed 5816 times by 108 tests: end of block 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
- ...
} break;executed 6535 times by 109 tests: break; 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
; | 0-6535 |
958 | caseexecuted 2735 times by 106 tests: case 19: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
19:executed 2735 times by 106 tests: case 19: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| 2735 |
959 | { xcb_map_notify_event_t *e = (xcb_map_notify_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | evaluated 2514 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| FALSE | evaluated 221 times by 35 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QInputDialog
- tst_QLineEdit
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPainter
- tst_QPlainTextEdit
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTabWidget
- tst_QTableView
- ...
|
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | evaluated 2514 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
) eventListener->handleMapNotifyEvent(e);executed 2514 times by 104 tests: eventListener->handleMapNotifyEvent(e); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
}executed 2514 times by 104 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
} break;executed 2735 times by 106 tests: break; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
; | 0-2735 |
960 | caseexecuted 2573 times by 89 tests: case 18: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsAnchorLayout
- ...
18:executed 2573 times by 89 tests: case 18: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsAnchorLayout
- ...
| 2573 |
961 | { xcb_unmap_notify_event_t *e = (xcb_unmap_notify_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | evaluated 85 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
| FALSE | evaluated 2488 times by 89 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsAnchorLayout
- ...
|
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | evaluated 85 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
| FALSE | never evaluated |
) eventListener->handleUnmapNotifyEvent(e);executed 85 times by 28 tests: eventListener->handleUnmapNotifyEvent(e); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
}executed 85 times by 28 tests: end of block Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
} break;executed 2573 times by 89 tests: break; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsAnchorLayout
- ...
; | 0-2573 |
962 | caseexecuted 3767 times by 98 tests: case 17: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- ...
17:executed 3767 times by 98 tests: case 17: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- ...
| 3767 |
963 | { xcb_destroy_notify_event_t *e = (xcb_destroy_notify_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | never evaluated | FALSE | evaluated 3767 times by 98 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- ...
|
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | never evaluated | FALSE | never evaluated |
) eventListener->handleDestroyNotifyEvent(e);never executed: eventListener->handleDestroyNotifyEvent(e); }never executed: end of block } break;executed 3767 times by 98 tests: break; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- ...
; | 0-3767 |
964 | caseexecuted 4076 times by 97 tests: case 33: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
33:executed 4076 times by 97 tests: case 33: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| 4076 |
965 | handleClientMessageEvent((xcb_client_message_event_t *)event); | - |
966 | break;executed 4076 times by 97 tests: break; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| 4076 |
967 | caseexecuted 829 times by 69 tests: case 7: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
7:executed 829 times by 69 tests: case 7: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 829 |
968 | | - |
969 | if (isAtLeastXI22()TRUE | evaluated 829 times by 69 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| FALSE | never evaluated |
&& xi2MouseEvents()TRUE | evaluated 829 times by 69 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| FALSE | never evaluated |
) | 0-829 |
970 | break;executed 829 times by 69 tests: break; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 829 |
971 | | - |
972 | { xcb_enter_notify_event_t *e = (xcb_enter_notify_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | never evaluated | FALSE | never evaluated |
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | never evaluated | FALSE | never evaluated |
) eventListener->handleEnterNotifyEvent(e);never executed: eventListener->handleEnterNotifyEvent(e); }never executed: end of block } break;never executed: break; ; | 0 |
973 | caseexecuted 785 times by 58 tests: case 8: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- ...
8:executed 785 times by 58 tests: case 8: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- ...
| 785 |
974 | | - |
975 | if (isAtLeastXI22()TRUE | evaluated 785 times by 58 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- ...
| FALSE | never evaluated |
&& xi2MouseEvents()TRUE | evaluated 785 times by 58 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- ...
| FALSE | never evaluated |
) | 0-785 |
976 | break;executed 785 times by 58 tests: break; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- ...
| 785 |
977 | | - |
978 | m_keyboard->updateXKBStateFromCore(((xcb_leave_notify_event_t *)event)->state); | - |
979 | { xcb_leave_notify_event_t *e = (xcb_leave_notify_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | never evaluated | FALSE | never evaluated |
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | never evaluated | FALSE | never evaluated |
) eventListener->handleLeaveNotifyEvent(e);never executed: eventListener->handleLeaveNotifyEvent(e); }never executed: end of block } break;never executed: break; ; | 0 |
980 | caseexecuted 3358 times by 105 tests: case 9: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
9:executed 3358 times by 105 tests: case 9: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| 3358 |
981 | { xcb_focus_in_event_t *e = (xcb_focus_in_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | evaluated 2617 times by 103 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| FALSE | evaluated 741 times by 61 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QInputDialog
- tst_QItemView
- ...
|
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | evaluated 2617 times by 103 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
) eventListener->handleFocusInEvent(e);executed 2617 times by 103 tests: eventListener->handleFocusInEvent(e); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
}executed 2617 times by 103 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
} break;executed 3358 times by 105 tests: break; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
; | 0-3358 |
982 | caseexecuted 2760 times by 89 tests: case 10: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsAnchorLayout
- ...
10:executed 2760 times by 89 tests: case 10: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsAnchorLayout
- ...
| 2760 |
983 | { xcb_focus_out_event_t *e = (xcb_focus_out_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | evaluated 415 times by 48 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- ...
| FALSE | evaluated 2345 times by 88 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsAnchorLayout
- ...
|
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | evaluated 415 times by 48 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- ...
| FALSE | never evaluated |
) eventListener->handleFocusOutEvent(e);executed 415 times by 48 tests: eventListener->handleFocusOutEvent(e); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- ...
}executed 415 times by 48 tests: end of block Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- ...
} break;executed 2760 times by 89 tests: break; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsAnchorLayout
- ...
; | 0-2760 |
984 | case never executed: case 2: 2:never executed: case 2: | 0 |
985 | { | - |
986 | xcb_key_press_event_t *kp = (xcb_key_press_event_t *)event; | - |
987 | m_keyboard->updateXKBStateFromCore(kp->state); | - |
988 | setTime(kp->time); | - |
989 | { xcb_key_press_event_t *e = (xcb_key_press_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | never evaluated | FALSE | never evaluated |
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | never evaluated | FALSE | never evaluated |
) m_keyboard->handleKeyPressEvent(e);never executed: m_keyboard->handleKeyPressEvent(e); }never executed: end of block } break;never executed: break; ; | 0 |
990 | } | - |
991 | case never executed: case 3: 3:never executed: case 3: | 0 |
992 | m_keyboard->updateXKBStateFromCore(((xcb_key_release_event_t *)event)->state); | - |
993 | { xcb_key_release_event_t *e = (xcb_key_release_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->event)TRUE | never evaluated | FALSE | never evaluated |
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | never evaluated | FALSE | never evaluated |
) m_keyboard->handleKeyReleaseEvent(e);never executed: m_keyboard->handleKeyReleaseEvent(e); }never executed: end of block } break;never executed: break; ; | 0 |
994 | case never executed: case 34: 34:never executed: case 34: | 0 |
995 | m_keyboard->handleMappingNotifyEvent((xcb_mapping_notify_event_t *)event); | - |
996 | break; never executed: break; | 0 |
997 | caseexecuted 10 times by 5 tests: case 30: Executed by:- tst_QApplication
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qtextedit - unknown status
30:executed 10 times by 5 tests: case 30: Executed by:- tst_QApplication
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qtextedit - unknown status
| 10 |
998 | { | - |
999 | xcb_selection_request_event_t *sr = (xcb_selection_request_event_t *)event; | - |
1000 | | - |
1001 | if (sr->selection == atom(QXcbAtom::XdndSelection)TRUE | never evaluated | FALSE | evaluated 10 times by 5 testsEvaluated by:- tst_QApplication
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qtextedit - unknown status
|
) | 0-10 |
1002 | m_drag->handleSelectionRequest(sr); never executed: m_drag->handleSelectionRequest(sr); | 0 |
1003 | else | - |
1004 | | - |
1005 | { | - |
1006 | | - |
1007 | m_clipboard->handleSelectionRequest(sr); | - |
1008 | | - |
1009 | }executed 10 times by 5 tests: end of block Executed by:- tst_QApplication
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qtextedit - unknown status
| 10 |
1010 | break;executed 10 times by 5 tests: break; Executed by:- tst_QApplication
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qtextedit - unknown status
| 10 |
1011 | } | - |
1012 | caseexecuted 15 times by 3 tests: case 29: Executed by:- tst_QClipboard
- tst_QPlainTextEdit
- tst_QTextEdit
29:executed 15 times by 3 tests: case 29: Executed by:- tst_QClipboard
- tst_QPlainTextEdit
- tst_QTextEdit
| 15 |
1013 | setTime(((xcb_selection_clear_event_t *)event)->time); | - |
1014 | | - |
1015 | m_clipboard->handleSelectionClearRequest((xcb_selection_clear_event_t *)event); | - |
1016 | | - |
1017 | handled = true; | - |
1018 | break;executed 15 times by 3 tests: break; Executed by:- tst_QClipboard
- tst_QPlainTextEdit
- tst_QTextEdit
| 15 |
1019 | case never executed: case 31: 31:never executed: case 31: | 0 |
1020 | setTime(((xcb_selection_notify_event_t *)event)->time); | - |
1021 | handled = false; | - |
1022 | break; never executed: break; | 0 |
1023 | caseexecuted 207475 times by 113 tests: case 28: 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
- ...
28:executed 207475 times by 113 tests: case 28: 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
- ...
| 207475 |
1024 | { | - |
1025 | xcb_property_notify_event_t *pn = (xcb_property_notify_event_t *)event; | - |
1026 | if (pn->atom == atom(QXcbAtom::_NET_WORKAREA)TRUE | never evaluated | FALSE | evaluated 207475 times by 113 testsEvaluated 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
- ...
|
) { | 0-207475 |
1027 | QXcbVirtualDesktop *virtualDesktop = virtualDesktopForRootWindow(pn->window); | - |
1028 | if (virtualDesktopTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1029 | virtualDesktop->updateWorkArea(); never executed: virtualDesktop->updateWorkArea(); | 0 |
1030 | } never executed: end of block else { | 0 |
1031 | { xcb_property_notify_event_t *e = (xcb_property_notify_event_t *)event; if (QXcbWindowEventListener *eventListener = windowEventListenerFromId(e->window)TRUE | evaluated 103172 times by 112 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 104303 times by 101 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) { handled = eventListener->handleGenericEvent(event, &result); if (!handledTRUE | evaluated 103172 times by 112 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | never evaluated |
) eventListener->handlePropertyNotifyEvent(e);executed 103172 times by 112 tests: eventListener->handlePropertyNotifyEvent(e); 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
}executed 103172 times by 112 tests: end of block 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
} break;executed 207475 times by 113 tests: break; 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
- ...
; | 0-207475 |
1032 | } | - |
1033 | break; never executed: break; | 0 |
1034 | } | - |
1035 | | - |
1036 | caseexecuted 2085 times by 69 tests: case 35: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
35:executed 2085 times by 69 tests: case 35: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 2085 |
1037 | | - |
1038 | if (m_xi2EnabledTRUE | evaluated 2085 times by 69 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| FALSE | never evaluated |
&& isXIEvent(event, m_xiOpCode)TRUE | evaluated 2085 times by 69 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| FALSE | never evaluated |
) | 0-2085 |
1039 | xi2HandleEvent(reinterpret_cast<xcb_ge_event_t *>(event));executed 2085 times by 69 tests: xi2HandleEvent(reinterpret_cast<xcb_ge_event_t *>(event)); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 2085 |
1040 | break;executed 2085 times by 69 tests: break; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 2085 |
1041 | | - |
1042 | defaultexecuted 2967 times by 108 tests: default: 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
:executed 2967 times by 108 tests: default: 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 2967 |
1043 | handled = false; | - |
1044 | break;executed 2967 times by 108 tests: break; 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 2967 |
1045 | } | - |
1046 | } | - |
1047 | | - |
1048 | if (!handledTRUE | evaluated 240606 times by 117 testsEvaluated 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
- ...
| FALSE | evaluated 15 times by 3 testsEvaluated by:- tst_QClipboard
- tst_QPlainTextEdit
- tst_QTextEdit
|
) { | 15-240606 |
1049 | if (response_type == xfixes_first_event + 0TRUE | evaluated 67 times by 6 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| FALSE | evaluated 240539 times by 117 testsEvaluated 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
- ...
|
) { | 67-240539 |
1050 | xcb_xfixes_selection_notify_event_t *notify_event = (xcb_xfixes_selection_notify_event_t *)event; | - |
1051 | setTime(notify_event->timestamp); | - |
1052 | | - |
1053 | m_clipboard->handleXFixesSelectionRequest(notify_event); | - |
1054 | | - |
1055 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(m_virtualDesktops)>::type> _container_((m_virtualDesktops)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (QXcbVirtualDesktop *virtualDesktop = *_container_.i; _container_.control; _container_.control = 0) | - |
1056 | virtualDesktop->handleXFixesSelectionNotify(notify_event);executed 67 times by 6 tests: virtualDesktop->handleXFixesSelectionNotify(notify_event); Executed by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| 67 |
1057 | | - |
1058 | handled = true; | - |
1059 | }executed 67 times by 6 tests: end of block Executed by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
else if (has_randr_extensionTRUE | evaluated 240539 times by 117 testsEvaluated 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
- ...
| FALSE | never evaluated |
&& response_type == xrandr_first_event + 1TRUE | never evaluated | FALSE | evaluated 240539 times by 117 testsEvaluated 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
- ...
|
) { | 0-240539 |
1060 | updateScreens((xcb_randr_notify_event_t *)event); | - |
1061 | handled = true; | - |
1062 | } never executed: end of block else if (has_randr_extensionTRUE | evaluated 240539 times by 117 testsEvaluated 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
- ...
| FALSE | never evaluated |
&& response_type == xrandr_first_event + 0TRUE | never evaluated | FALSE | evaluated 240539 times by 117 testsEvaluated 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
- ...
|
) { | 0-240539 |
1063 | xcb_randr_screen_change_notify_event_t *change_event = (xcb_randr_screen_change_notify_event_t *)event; | - |
1064 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(m_screens)>::type> _container_((m_screens)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (QXcbScreen *s = *_container_.i; _container_.control; _container_.control = 0) { | - |
1065 | if (s->root() == change_event->rootTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1066 | s->handleScreenChange(change_event); never executed: s->handleScreenChange(change_event); | 0 |
1067 | } never executed: end of block | 0 |
1068 | handled = true; | - |
1069 | | - |
1070 | } never executed: end of block else if (response_type == xkb_first_eventTRUE | never evaluated | FALSE | evaluated 240539 times by 117 testsEvaluated 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
- ...
|
) { | 0-240539 |
1071 | _xkb_event *xkb_event = reinterpret_cast<_xkb_event *>(event); | - |
1072 | if (xkb_event->any.deviceID == m_keyboard->coreDeviceId()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1073 | switch (xkb_event->any.xkbType) { | - |
1074 | | - |
1075 | | - |
1076 | case never executed: case 2: 2:never executed: case 2: | 0 |
1077 | m_keyboard->updateXKBState(&xkb_event->state_notify); | - |
1078 | handled = true; | - |
1079 | break; never executed: break; | 0 |
1080 | case never executed: case 1: 1:never executed: case 1: | 0 |
1081 | m_keyboard->handleMappingNotifyEvent(&xkb_event->map_notify); | - |
1082 | handled = true; | - |
1083 | break; never executed: break; | 0 |
1084 | case never executed: case 0: 0:never executed: case 0: { | 0 |
1085 | xcb_xkb_new_keyboard_notify_event_t *ev = &xkb_event->new_keyboard_notify; | - |
1086 | if (ev->changed & XCB_XKB_NKN_DETAIL_KEYCODESTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1087 | m_keyboard->updateKeymap(); never executed: m_keyboard->updateKeymap(); | 0 |
1088 | break; never executed: break; | 0 |
1089 | } | - |
1090 | default never executed: default: :never executed: default: | 0 |
1091 | break; never executed: break; | 0 |
1092 | } | - |
1093 | } | - |
1094 | | - |
1095 | } never executed: end of block | 0 |
1096 | }executed 240606 times by 117 tests: end of block 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
- ...
| 240606 |
1097 | | - |
1098 | if (!handledTRUE | evaluated 240539 times by 117 testsEvaluated 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
- ...
| FALSE | evaluated 82 times by 6 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
|
&& m_glIntegrationTRUE | evaluated 240539 times by 117 testsEvaluated 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
- ...
| FALSE | never evaluated |
) | 0-240539 |
1099 | handled = m_glIntegration->handleXcbEvent(event, response_type);executed 240539 times by 117 tests: handled = m_glIntegration->handleXcbEvent(event, response_type); 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
- ...
| 240539 |
1100 | | - |
1101 | if (handledTRUE | evaluated 82 times by 6 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| FALSE | evaluated 240539 times by 117 testsEvaluated 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
- ...
|
) | 82-240539 |
1102 | printXcbEvent("Handled XCB event", event);executed 82 times by 6 tests: printXcbEvent("Handled XCB event", event); Executed by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| 82 |
1103 | else | - |
1104 | printXcbEvent("Unhandled XCB event", event);executed 240539 times by 117 tests: printXcbEvent("Unhandled XCB event", event); 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
- ...
| 240539 |
1105 | } | - |
1106 | | - |
1107 | void QXcbConnection::addPeekFunc(PeekFunc f) | - |
1108 | { | - |
1109 | m_peekFuncs.append(f); | - |
1110 | }executed 2549 times by 103 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| 2549 |
1111 | | - |
1112 | QXcbEventReader::QXcbEventReader(QXcbConnection *connection) | - |
1113 | : m_connection(connection) | - |
1114 | { | - |
1115 | checkXcbPollForQueuedEvent(); | - |
1116 | }executed 129 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
| 129 |
1117 | | - |
1118 | void QXcbEventReader::start() | - |
1119 | { | - |
1120 | if (local_xcb_poll_for_queued_eventTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-129 |
1121 | connect(this, qFlagLocation("2""eventPending()" "\0" __FILE__ ":" "1302"), m_connection, qFlagLocation("1""processXcbEvents()" "\0" __FILE__ ":" "1302"), Qt::QueuedConnection); | - |
1122 | connect(this, qFlagLocation("2""finished()" "\0" __FILE__ ":" "1303"), m_connection, qFlagLocation("1""processXcbEvents()" "\0" __FILE__ ":" "1303")); | - |
1123 | QThread::start(); | - |
1124 | }executed 129 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
else { | 129 |
1125 | | - |
1126 | | - |
1127 | QMetaObject::invokeMethod(this, "registerForEvents", Qt::QueuedConnection); | - |
1128 | } never executed: end of block | 0 |
1129 | } | - |
1130 | | - |
1131 | void QXcbEventReader::registerForEvents() | - |
1132 | { | - |
1133 | QSocketNotifier *notifier = new QSocketNotifier(xcb_get_file_descriptor(m_connection->xcb_connection()), QSocketNotifier::Read, this); | - |
1134 | connect(notifier, qFlagLocation("2""activated(int)" "\0" __FILE__ ":" "1315"), m_connection, qFlagLocation("1""processXcbEvents()" "\0" __FILE__ ":" "1315")); | - |
1135 | | - |
1136 | QAbstractEventDispatcher *dispatcher = QGuiApplicationPrivate::eventDispatcher; | - |
1137 | connect(dispatcher, qFlagLocation("2""aboutToBlock()" "\0" __FILE__ ":" "1318"), m_connection, qFlagLocation("1""processXcbEvents()" "\0" __FILE__ ":" "1318")); | - |
1138 | connect(dispatcher, qFlagLocation("2""awake()" "\0" __FILE__ ":" "1319"), m_connection, qFlagLocation("1""processXcbEvents()" "\0" __FILE__ ":" "1319")); | - |
1139 | } never executed: end of block | 0 |
1140 | | - |
1141 | void QXcbEventReader::registerEventDispatcher(QAbstractEventDispatcher *dispatcher) | - |
1142 | { | - |
1143 | | - |
1144 | | - |
1145 | | - |
1146 | if (local_xcb_poll_for_queued_eventTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-129 |
1147 | connect(dispatcher, qFlagLocation("2""aboutToBlock()" "\0" __FILE__ ":" "1328"), m_connection, qFlagLocation("1""flush()" "\0" __FILE__ ":" "1328"));executed 129 times by 5 tests: connect(dispatcher, qFlagLocation("2""aboutToBlock()" "\0" __FILE__ ":" "1328"), m_connection, qFlagLocation("1""flush()" "\0" __FILE__ ":" "1328")); Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 129 |
1148 | }executed 129 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
| 129 |
1149 | | - |
1150 | void QXcbEventReader::run() | - |
1151 | { | - |
1152 | xcb_generic_event_t *event; | - |
1153 | while (m_connectionTRUE | evaluated 123207 times by 156 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| FALSE | evaluated 341 times by 220 testsEvaluated 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
- ...
|
&& (TRUE | evaluated 123419 times by 343 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| FALSE | never evaluated |
event = xcb_wait_for_event(m_connection->xcb_connection()))TRUE | evaluated 123419 times by 343 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| FALSE | never evaluated |
) { | 0-123419 |
1154 | m_mutex.lock(); | - |
1155 | addEvent(event); | - |
1156 | while (m_connectionTRUE | evaluated 258762 times by 240 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| FALSE | evaluated 341 times by 220 testsEvaluated 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
- ...
|
&& (TRUE | evaluated 135684 times by 234 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| FALSE | evaluated 123078 times by 155 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
|
event = local_xcb_poll_for_queued_event(m_connection->xcb_connection()))TRUE | evaluated 135684 times by 234 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| FALSE | evaluated 123078 times by 155 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
|
) | 341-258762 |
1157 | addEvent(event);executed 135684 times by 234 tests: addEvent(event); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| 135684 |
1158 | m_mutex.unlock(); | - |
1159 | eventPending(); | - |
1160 | }executed 123419 times by 343 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| 123419 |
1161 | | - |
1162 | m_mutex.lock(); | - |
1163 | for (int i = 0; i < m_events.size()TRUE | evaluated 14923 times by 220 testsEvaluated 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
- ...
| FALSE | evaluated 341 times by 220 testsEvaluated 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
- ...
|
; ++i) | 341-14923 |
1164 | free(m_events.at(i));executed 14923 times by 220 tests: free(m_events.at(i)); 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
- ...
| 14923 |
1165 | m_events.clear(); | - |
1166 | m_mutex.unlock(); | - |
1167 | }executed 341 times by 220 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
- ...
| 341 |
1168 | | - |
1169 | void QXcbEventReader::addEvent(xcb_generic_event_t *event) | - |
1170 | { | - |
1171 | if ((TRUE | evaluated 4483 times by 321 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | evaluated 254620 times by 240 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
|
event->response_type & ~0x80) == 33TRUE | evaluated 4483 times by 321 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | evaluated 254620 times by 240 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
|
| 4483-254620 |
1172 | && ((TRUE | evaluated 341 times by 220 testsEvaluated 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
- ...
| FALSE | evaluated 4142 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
xcb_client_message_event_t *)event)->type == m_connection->atom(QXcbAtom::_QT_CLOSE_CONNECTION)TRUE | evaluated 341 times by 220 testsEvaluated 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
- ...
| FALSE | evaluated 4142 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
) | 341-4142 |
1173 | m_connection = 0;executed 341 times by 220 tests: m_connection = 0; 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
- ...
| 341 |
1174 | m_events << event; | - |
1175 | }executed 259103 times by 343 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| 259103 |
1176 | | - |
1177 | QXcbEventArray *QXcbEventReader::lock() | - |
1178 | { | - |
1179 | m_mutex.lock(); | - |
1180 | if (!local_xcb_poll_for_queued_eventTRUE | never evaluated | FALSE | evaluated 363833 times by 118 testsEvaluated 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
- ...
|
) { | 0-363833 |
1181 | while (xcb_generic_event_t *event = xcb_poll_for_event(m_connection->xcb_connection())TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1182 | m_events << event; never executed: m_events << event; | 0 |
1183 | } never executed: end of block | 0 |
1184 | returnexecuted 363833 times by 118 tests: return &m_events; 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
- ...
&m_events;executed 363833 times by 118 tests: return &m_events; 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
- ...
| 363833 |
1185 | } | - |
1186 | | - |
1187 | void QXcbEventReader::unlock() | - |
1188 | { | - |
1189 | m_mutex.unlock(); | - |
1190 | }executed 363833 times by 118 tests: end of block 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
- ...
| 363833 |
1191 | | - |
1192 | void QXcbConnection::setFocusWindow(QXcbWindow *w) | - |
1193 | { | - |
1194 | m_focusWindow = w; | - |
1195 | }executed 5646 times by 105 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
| 5646 |
1196 | void QXcbConnection::setMouseGrabber(QXcbWindow *w) | - |
1197 | { | - |
1198 | m_mouseGrabber = w; | - |
1199 | m_mousePressWindow = nullptr; | - |
1200 | }executed 368 times by 21 tests: end of block Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| 368 |
1201 | void QXcbConnection::setMousePressWindow(QXcbWindow *w) | - |
1202 | { | - |
1203 | m_mousePressWindow = w; | - |
1204 | } never executed: end of block | 0 |
1205 | | - |
1206 | void QXcbConnection::grabServer() | - |
1207 | { | - |
1208 | if (m_canGrabServerTRUE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
) | 0-19 |
1209 | xcb_grab_server(m_connection);executed 19 times by 19 tests: xcb_grab_server(m_connection); Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
1210 | }executed 19 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
1211 | | - |
1212 | void QXcbConnection::ungrabServer() | - |
1213 | { | - |
1214 | if (m_canGrabServerTRUE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
) | 0-19 |
1215 | xcb_ungrab_server(m_connection);executed 19 times by 19 tests: xcb_ungrab_server(m_connection); Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
1216 | }executed 19 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
1217 | | - |
1218 | void QXcbConnection::sendConnectionEvent(QXcbAtom::Atom a, uint id) | - |
1219 | { | - |
1220 | xcb_client_message_event_t event; | - |
1221 | memset(&event, 0, sizeof(event)); | - |
1222 | | - |
1223 | const xcb_window_t eventListener = xcb_generate_id(m_connection); | - |
1224 | xcb_screen_iterator_t it = xcb_setup_roots_iterator(m_setup); | - |
1225 | xcb_screen_t *screen = it.data; | - |
1226 | xcb_create_window(m_connection, 0L, eventListener, screen->root, 0, 0, 1, 1, 0, XCB_WINDOW_CLASS_INPUT_ONLY, screen->root_visual, 0, 0) | - |
1227 | | - |
1228 | | - |
1229 | ; | - |
1230 | | - |
1231 | event.response_type = 33; | - |
1232 | event.format = 32; | - |
1233 | event.sequence = 0; | - |
1234 | event.window = eventListener; | - |
1235 | event.type = atom(a); | - |
1236 | event.data.data32[0] = id; | - |
1237 | | - |
1238 | xcb_send_event(xcb_connection(), false, eventListener, XCB_EVENT_MASK_NO_EVENT, (const char *)&event); | - |
1239 | xcb_destroy_window(m_connection, eventListener); | - |
1240 | xcb_flush(xcb_connection()); | - |
1241 | }executed 341 times by 220 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
- ...
| 341 |
1242 | | - |
1243 | namespace | - |
1244 | { | - |
1245 | class PropertyNotifyEvent { | - |
1246 | public: | - |
1247 | PropertyNotifyEvent(xcb_window_t win, xcb_atom_t property) | - |
1248 | : window(win), type(28), atom(property) {}executed 5 times by 5 tests: end of block Executed by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| 5 |
1249 | xcb_window_t window; | - |
1250 | int type; | - |
1251 | xcb_atom_t atom; | - |
1252 | bool checkEvent(xcb_generic_event_t *event) const { | - |
1253 | if (!eventTRUE | evaluated 2 times by 1 test | FALSE | evaluated 54 times by 5 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
|
) | 2-54 |
1254 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1255 | if ((TRUE | evaluated 9 times by 1 test | FALSE | evaluated 45 times by 5 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
|
event->response_type & ~0x80) != typeTRUE | evaluated 9 times by 1 test | FALSE | evaluated 45 times by 5 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
|
) { | 9-45 |
1256 | returnexecuted 9 times by 1 test: return false; false;executed 9 times by 1 test: return false; | 9 |
1257 | } else { | - |
1258 | xcb_property_notify_event_t *pn = (xcb_property_notify_event_t *)event; | - |
1259 | if ((TRUE | evaluated 12 times by 5 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| FALSE | evaluated 33 times by 1 test |
pn->window == window)TRUE | evaluated 12 times by 5 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| FALSE | evaluated 33 times by 1 test |
&& (TRUE | evaluated 5 times by 5 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| FALSE | evaluated 7 times by 1 test |
pn->atom == atom)TRUE | evaluated 5 times by 5 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| FALSE | evaluated 7 times by 1 test |
) | 5-33 |
1260 | returnexecuted 5 times by 5 tests: return true; Executed by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
true;executed 5 times by 5 tests: return true; Executed by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| 5 |
1261 | }executed 40 times by 1 test: end of block | 40 |
1262 | returnexecuted 40 times by 1 test: return false; false;executed 40 times by 1 test: return false; | 40 |
1263 | } | - |
1264 | }; | - |
1265 | } | - |
1266 | | - |
1267 | xcb_timestamp_t QXcbConnection::getTimestamp() | - |
1268 | { | - |
1269 | | - |
1270 | xcb_window_t root_win = rootWindow(); | - |
1271 | xcb_change_property(xcb_connection(), XCB_PROP_MODE_APPEND, root_win, atom(QXcbAtom::CLIP_TEMPORARY), | - |
1272 | XCB_ATOM_INTEGER, 32, 0, __null); | - |
1273 | | - |
1274 | connection()->flush(); | - |
1275 | PropertyNotifyEvent checker(root_win, atom(QXcbAtom::CLIP_TEMPORARY)); | - |
1276 | | - |
1277 | xcb_generic_event_t *event = 0; | - |
1278 | | - |
1279 | | - |
1280 | | - |
1281 | while (!eventTRUE | evaluated 5 times by 5 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| FALSE | evaluated 5 times by 5 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
|
) { | 5 |
1282 | connection()->sync(); | - |
1283 | event = checkEvent(checker); | - |
1284 | }executed 5 times by 5 tests: end of block Executed by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| 5 |
1285 | | - |
1286 | xcb_property_notify_event_t *pn = (xcb_property_notify_event_t *)event; | - |
1287 | xcb_timestamp_t timestamp = pn->time; | - |
1288 | free(event); | - |
1289 | | - |
1290 | xcb_delete_property(xcb_connection(), root_win, atom(QXcbAtom::CLIP_TEMPORARY)); | - |
1291 | | - |
1292 | returnexecuted 5 times by 5 tests: return timestamp; Executed by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
timestamp;executed 5 times by 5 tests: return timestamp; Executed by:- tst_QApplication
- tst_QClipboard
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QTextEdit
| 5 |
1293 | } | - |
1294 | | - |
1295 | xcb_window_t QXcbConnection::getSelectionOwner(xcb_atom_t atom) const | - |
1296 | { | - |
1297 | xcb_connection_t *c = xcb_connection(); | - |
1298 | xcb_get_selection_owner_cookie_t cookie = xcb_get_selection_owner(c, atom); | - |
1299 | xcb_get_selection_owner_reply_t *reply; | - |
1300 | reply = xcb_get_selection_owner_reply(c, cookie, 0); | - |
1301 | xcb_window_t win = reply->owner; | - |
1302 | free(reply); | - |
1303 | returnexecuted 346 times by 11 tests: return win; Executed by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
win;executed 346 times by 11 tests: return win; Executed by:- tst_QApplication
- tst_QClipboard
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QLineEdit
- tst_QPlainTextEdit
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 346 |
1304 | } | - |
1305 | | - |
1306 | xcb_window_t QXcbConnection::getQtSelectionOwner() | - |
1307 | { | - |
1308 | if (!m_qtSelectionOwnerTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 129 |
1309 | xcb_screen_t *xcbScreen = primaryVirtualDesktop()->screen(); | - |
1310 | int x = 0, y = 0, w = 3, h = 3; | - |
1311 | m_qtSelectionOwner = xcb_generate_id(xcb_connection()); | - |
1312 | xcb_create_window(xcb_connection(), 0L, m_qtSelectionOwner, xcbScreen->root, x, y, w, h, 0, XCB_WINDOW_CLASS_INPUT_OUTPUT, xcbScreen->root_visual, 0, 0) | - |
1313 | ; | - |
1314 | }executed 129 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
| 129 |
1315 | returnexecuted 258 times by 5 tests: return m_qtSelectionOwner; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
m_qtSelectionOwner;executed 258 times by 5 tests: return m_qtSelectionOwner; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 258 |
1316 | } | - |
1317 | | - |
1318 | xcb_window_t QXcbConnection::rootWindow() | - |
1319 | { | - |
1320 | QXcbScreen *s = primaryScreen(); | - |
1321 | returnexecuted 4354 times by 134 tests: return s ? s->root() : 0; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- ...
sTRUE | evaluated 4354 times by 134 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- ...
| FALSE | never evaluated |
? s->root() : 0;executed 4354 times by 134 tests: return s ? s->root() : 0; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- ...
| 0-4354 |
1322 | } | - |
1323 | | - |
1324 | xcb_window_t QXcbConnection::clientLeader() | - |
1325 | { | - |
1326 | if (m_clientLeader == 0TRUE | evaluated 156 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 4365 times by 108 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 156-4365 |
1327 | m_clientLeader = xcb_generate_id(xcb_connection()); | - |
1328 | QXcbScreen *screen = primaryScreen(); | - |
1329 | xcb_create_window(xcb_connection(), 0L, m_clientLeader, screen->root(), 0, 0, 1, 1, 0, XCB_WINDOW_CLASS_INPUT_OUTPUT, screen->screen()->root_visual, 0, 0) | - |
1330 | | - |
1331 | | - |
1332 | | - |
1333 | | - |
1334 | | - |
1335 | | - |
1336 | | - |
1337 | ; | - |
1338 | | - |
1339 | QByteArray ba("Qt client leader window"); | - |
1340 | xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_clientLeader, atom(QXcbAtom::_NET_WM_NAME), atom(QXcbAtom::UTF8_STRING), 8, ba.length(), ba.constData()) | - |
1341 | | - |
1342 | | - |
1343 | | - |
1344 | | - |
1345 | | - |
1346 | | - |
1347 | ; | - |
1348 | | - |
1349 | xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_clientLeader, atom(QXcbAtom::WM_CLIENT_LEADER), XCB_ATOM_WINDOW, 32, 1, &m_clientLeader) | - |
1350 | | - |
1351 | | - |
1352 | | - |
1353 | | - |
1354 | | - |
1355 | | - |
1356 | ; | - |
1357 | | - |
1358 | | - |
1359 | | - |
1360 | QByteArray session = (static_cast<QGuiApplication *>(QCoreApplication::instance()))->sessionId().toLatin1(); | - |
1361 | if (!session.isEmpty()TRUE | never evaluated | FALSE | evaluated 156 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
) { | 0-156 |
1362 | xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_clientLeader, atom(QXcbAtom::SM_CLIENT_ID), XCB_ATOM_STRING, 8, session.length(), session.constData()) | - |
1363 | | - |
1364 | | - |
1365 | | - |
1366 | | - |
1367 | | - |
1368 | | - |
1369 | ; | - |
1370 | } never executed: end of block | 0 |
1371 | | - |
1372 | }executed 156 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 156 |
1373 | returnexecuted 4521 times by 125 tests: return m_clientLeader; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
m_clientLeader;executed 4521 times by 125 tests: return m_clientLeader; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4521 |
1374 | } | - |
1375 | | - |
1376 | | - |
1377 | void *QXcbConnection::xlib_display() const | - |
1378 | { | - |
1379 | returnexecuted 283563 times by 132 tests: return m_xlib_display; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
m_xlib_display;executed 283563 times by 132 tests: return m_xlib_display; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| 283563 |
1380 | } | - |
1381 | | - |
1382 | void *QXcbConnection::createVisualInfoForDefaultVisualId() const | - |
1383 | { | - |
1384 | if (m_defaultVisualId == (2147483647 * 2U + 1U)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1385 | return never executed: return 0; 0;never executed: return 0; | 0 |
1386 | XVisualInfo info; | - |
1387 | memset(&info, 0, sizeof info); | - |
1388 | info.visualid = m_defaultVisualId; | - |
1389 | | - |
1390 | int count = 0; | - |
1391 | XVisualInfo *retVisual = XGetVisualInfo(((Display *)(this->connection()->xlib_display())), 0x1, &info, &count); | - |
1392 | ((!(count < 2)) ? qt_assert("count < 2",__FILE__,1581) : qt_noop()); | - |
1393 | return never executed: return retVisual; retVisual;never executed: return retVisual; | 0 |
1394 | } | - |
1395 | | - |
1396 | | - |
1397 | | - |
1398 | | - |
1399 | | - |
1400 | | - |
1401 | static inline bool isXIType(xcb_generic_event_t *event, int opCode, uint16_t type) | - |
1402 | { | - |
1403 | if (!isXIEvent(event, opCode)TRUE | evaluated 1477 times by 11 testsEvaluated by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QItemView
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
| FALSE | evaluated 3937 times by 69 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
|
) | 1477-3937 |
1404 | returnexecuted 1477 times by 11 tests: return false; Executed by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QItemView
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
false;executed 1477 times by 11 tests: return false; Executed by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QItemView
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
| 1477 |
1405 | | - |
1406 | xXIGenericDeviceEvent *xiEvent = reinterpret_cast<xXIGenericDeviceEvent *>(event); | - |
1407 | returnexecuted 3937 times by 69 tests: return xiEvent->evtype == type; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
xiEvent->evtype == type;executed 3937 times by 69 tests: return xiEvent->evtype == type; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 3937 |
1408 | } | - |
1409 | | - |
1410 | static inline bool isValid(xcb_generic_event_t *event) | - |
1411 | { | - |
1412 | returnexecuted 344631 times by 109 tests: return event && (event->response_type & ~0x80); 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
eventTRUE | evaluated 344554 times by 109 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 77 times by 10 testsEvaluated by:- tst_QApplication
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMainWindow
- tst_QMdiArea
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTreeWidget
- tst_QWidget
|
&& (TRUE | evaluated 344554 times by 109 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | never evaluated |
event->response_type & ~0x80)TRUE | evaluated 344554 times by 109 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | never evaluated |
;executed 344631 times by 109 tests: return event && (event->response_type & ~0x80); 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 0-344631 |
1413 | } | - |
1414 | bool QXcbConnection::compressEvent(xcb_generic_event_t *event, int currentIndex, QXcbEventArray *eventqueue) const | - |
1415 | { | - |
1416 | uint responseType = event->response_type & ~0x80; | - |
1417 | int nextIndex = currentIndex + 1; | - |
1418 | | - |
1419 | if (responseType == 6TRUE | never evaluated | FALSE | evaluated 241505 times by 113 testsEvaluated 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
- ...
|
) { | 0-241505 |
1420 | | - |
1421 | for (int j = nextIndex; j < eventqueue->size()TRUE | never evaluated | FALSE | never evaluated |
; ++j) { | 0 |
1422 | xcb_generic_event_t *next = eventqueue->at(j); | - |
1423 | if (!isValid(next)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1424 | continue; never executed: continue; | 0 |
1425 | if (next->response_type == 6TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1426 | return never executed: return true; true;never executed: return true; | 0 |
1427 | } never executed: end of block | 0 |
1428 | return never executed: return false; false;never executed: return false; | 0 |
1429 | } | - |
1430 | | - |
1431 | | - |
1432 | if (responseType == 35TRUE | evaluated 2155 times by 69 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| FALSE | evaluated 239350 times by 113 testsEvaluated 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
- ...
|
) { | 2155-239350 |
1433 | if (!m_xi2EnabledTRUE | never evaluated | FALSE | evaluated 2155 times by 69 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
|
) | 0-2155 |
1434 | return never executed: return false; false;never executed: return false; | 0 |
1435 | | - |
1436 | | - |
1437 | if (isXIType(event, m_xiOpCode, 6)TRUE | evaluated 480 times by 18 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 1675 times by 69 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
|
) { | 480-1675 |
1438 | | - |
1439 | xXIDeviceEvent *xdev = reinterpret_cast<xXIDeviceEvent *>(event); | - |
1440 | if (const_cast<TRUE | never evaluated | FALSE | evaluated 480 times by 18 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
|
QXcbConnection *>(this)->tabletDataForDevice(xdev->sourceid)TRUE | never evaluated | FALSE | evaluated 480 times by 18 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
|
) | 0-480 |
1441 | return never executed: return false; false;never executed: return false; | 0 |
1442 | | - |
1443 | for (int j = nextIndex; j < eventqueue->size()TRUE | evaluated 1584 times by 11 testsEvaluated by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QItemView
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
| FALSE | evaluated 410 times by 18 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
|
; ++j) { | 410-1584 |
1444 | xcb_generic_event_t *next = eventqueue->at(j); | - |
1445 | if (!isValid(next)TRUE | never evaluated | FALSE | evaluated 1584 times by 11 testsEvaluated by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QItemView
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
|
) | 0-1584 |
1446 | continue; never executed: continue; | 0 |
1447 | if (isXIType(next, m_xiOpCode, 6)TRUE | evaluated 70 times by 4 testsEvaluated by:- tst_QAbstractItemView
- tst_QItemView
- tst_QMenuBar
- tst_QTableView
| FALSE | evaluated 1514 times by 11 testsEvaluated by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QItemView
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
|
) | 70-1514 |
1448 | returnexecuted 70 times by 4 tests: return true; Executed by:- tst_QAbstractItemView
- tst_QItemView
- tst_QMenuBar
- tst_QTableView
true;executed 70 times by 4 tests: return true; Executed by:- tst_QAbstractItemView
- tst_QItemView
- tst_QMenuBar
- tst_QTableView
| 70 |
1449 | }executed 1514 times by 11 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QItemView
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
| 1514 |
1450 | returnexecuted 410 times by 18 tests: return false; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
false;executed 410 times by 18 tests: return false; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 410 |
1451 | } | - |
1452 | | - |
1453 | | - |
1454 | if (isXIType(event, m_xiOpCode, 19)TRUE | never evaluated | FALSE | evaluated 1675 times by 69 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
|
) { | 0-1675 |
1455 | xXIDeviceEvent *xiDeviceEvent = reinterpret_cast<xXIDeviceEvent *>(event); | - |
1456 | uint32_t id = xiDeviceEvent->detail % 2147483647; | - |
1457 | for (int j = nextIndex; j < eventqueue->size()TRUE | never evaluated | FALSE | never evaluated |
; ++j) { | 0 |
1458 | xcb_generic_event_t *next = eventqueue->at(j); | - |
1459 | if (!isValid(next)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1460 | continue; never executed: continue; | 0 |
1461 | if (isXIType(next, m_xiOpCode, 19)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1462 | xXIDeviceEvent *xiDeviceNextEvent = reinterpret_cast<xXIDeviceEvent *>(next); | - |
1463 | if (id == xiDeviceNextEvent->detail % 2147483647TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1464 | return never executed: return true; true;never executed: return true; | 0 |
1465 | } never executed: end of block | 0 |
1466 | } never executed: end of block | 0 |
1467 | return never executed: return false; false;never executed: return false; | 0 |
1468 | } | - |
1469 | | - |
1470 | returnexecuted 1675 times by 69 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
false;executed 1675 times by 69 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 1675 |
1471 | } | - |
1472 | | - |
1473 | if (responseType == 22TRUE | evaluated 7359 times by 109 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 231991 times by 113 testsEvaluated 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
- ...
|
) { | 7359-231991 |
1474 | | - |
1475 | for (int j = nextIndex; j < eventqueue->size()TRUE | evaluated 343047 times by 109 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 6535 times by 109 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
|
; ++j) { | 6535-343047 |
1476 | xcb_generic_event_t *next = eventqueue->at(j); | - |
1477 | if (isValid(next)TRUE | evaluated 342970 times by 109 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 77 times by 10 testsEvaluated by:- tst_QApplication
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMainWindow
- tst_QMdiArea
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTreeWidget
- tst_QWidget
|
&& next->response_type == 22TRUE | evaluated 5715 times by 85 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsEffect
- ...
| FALSE | evaluated 337255 times by 109 testsEvaluated 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
|
| 77-342970 |
1478 | && ((TRUE | evaluated 824 times by 80 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- ...
| FALSE | evaluated 4891 times by 50 testsEvaluated by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
|
xcb_configure_notify_event_t *)next)->event == ((xcb_configure_notify_event_t*)event)->eventTRUE | evaluated 824 times by 80 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- ...
| FALSE | evaluated 4891 times by 50 testsEvaluated by:- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
|
) | 824-4891 |
1479 | { | - |
1480 | returnexecuted 824 times by 80 tests: return true; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- ...
true;executed 824 times by 80 tests: return true; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- ...
| 824 |
1481 | } | - |
1482 | }executed 342223 times by 109 tests: end of block 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 342223 |
1483 | returnexecuted 6535 times by 109 tests: return false; 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
false;executed 6535 times by 109 tests: return false; 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_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 6535 |
1484 | } | - |
1485 | | - |
1486 | returnexecuted 231991 times by 113 tests: return false; 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
- ...
false;executed 231991 times by 113 tests: return false; 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
- ...
| 231991 |
1487 | } | - |
1488 | | - |
1489 | void QXcbConnection::processXcbEvents() | - |
1490 | { | - |
1491 | int connection_error = xcb_connection_has_error(xcb_connection()); | - |
1492 | if (connection_errorTRUE | never evaluated | FALSE | evaluated 117565 times by 113 testsEvaluated 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
- ...
|
) { | 0-117565 |
1493 | QMessageLogger(__FILE__, 1695, __PRETTY_FUNCTION__).warning("The X11 connection broke (error %d). Did the X11 server die?", connection_error); | - |
1494 | exit(1); never executed: exit(1); | 0 |
1495 | } | - |
1496 | | - |
1497 | QXcbEventArray *eventqueue = m_reader->lock(); | - |
1498 | | - |
1499 | for (int i = 0; i < eventqueue->size()TRUE | evaluated 244166 times by 113 testsEvaluated 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
- ...
| FALSE | evaluated 117565 times by 113 testsEvaluated 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
- ...
|
; ++i) { | 117565-244166 |
1500 | xcb_generic_event_t *event = eventqueue->at(i); | - |
1501 | if (!eventTRUE | evaluated 2661 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | evaluated 241505 times by 113 testsEvaluated 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
- ...
|
) | 2661-241505 |
1502 | continue;executed 2661 times by 106 tests: continue; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 2661 |
1503 | QScopedPointer<xcb_generic_event_t, QScopedPointerPodDeleter> eventGuard(event); | - |
1504 | (*eventqueue)[i] = 0; | - |
1505 | | - |
1506 | if (!(event->response_type & ~0x80)TRUE | never evaluated | FALSE | evaluated 241505 times by 113 testsEvaluated 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
- ...
|
) { | 0-241505 |
1507 | handleXcbError((xcb_generic_error_t *)event); | - |
1508 | continue; never executed: continue; | 0 |
1509 | } | - |
1510 | | - |
1511 | if (compressEvent(event, i, eventqueue)TRUE | evaluated 894 times by 80 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- ...
| FALSE | evaluated 240611 times by 113 testsEvaluated 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
- ...
|
) | 894-240611 |
1512 | continue;executed 894 times by 80 tests: continue; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- ...
| 894 |
1513 | | - |
1514 | bool accepted = false; | - |
1515 | if (clipboard()->processIncr()TRUE | never evaluated | FALSE | evaluated 240611 times by 113 testsEvaluated 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
- ...
|
) | 0-240611 |
1516 | clipboard()->incrTransactionPeeker(event, accepted); never executed: clipboard()->incrTransactionPeeker(event, accepted); | 0 |
1517 | if (acceptedTRUE | never evaluated | FALSE | evaluated 240611 times by 113 testsEvaluated 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
- ...
|
) | 0-240611 |
1518 | continue; never executed: continue; | 0 |
1519 | | - |
1520 | QVector<PeekFunc>::iterator it = m_peekFuncs.begin(); | - |
1521 | while (it != m_peekFuncs.end()TRUE | evaluated 118494 times by 84 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- ...
| FALSE | evaluated 240611 times by 113 testsEvaluated 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
- ...
|
) { | 118494-240611 |
1522 | | - |
1523 | | - |
1524 | if ((*TRUE | evaluated 451 times by 43 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLabel
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- ...
| FALSE | evaluated 118043 times by 84 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- ...
|
it)(this, event)TRUE | evaluated 451 times by 43 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLabel
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- ...
| FALSE | evaluated 118043 times by 84 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- ...
|
) | 451-118043 |
1525 | it = m_peekFuncs.erase(it);executed 451 times by 43 tests: it = m_peekFuncs.erase(it); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLabel
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- ...
| 451 |
1526 | else | - |
1527 | ++executed 118043 times by 84 tests: ++it; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- ...
it;executed 118043 times by 84 tests: ++it; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- ...
| 118043 |
1528 | } | - |
1529 | m_reader->unlock(); | - |
1530 | handleXcbEvent(event); | - |
1531 | m_reader->lock(); | - |
1532 | }executed 240611 times by 113 tests: end of block 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
- ...
| 240611 |
1533 | | - |
1534 | eventqueue->clear(); | - |
1535 | | - |
1536 | m_reader->unlock(); | - |
1537 | | - |
1538 | | - |
1539 | | - |
1540 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(m_peekFuncs)>::type> _container_((m_peekFuncs)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (PeekFunc f = *_container_.i; _container_.control; _container_.control = 0) | - |
1541 | f(this, 0);executed 1995 times by 81 tests: f(this, 0); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- tst_QGraphicsItem
- ...
| 1995 |
1542 | m_peekFuncs.clear(); | - |
1543 | | - |
1544 | xcb_flush(xcb_connection()); | - |
1545 | }executed 117565 times by 113 tests: end of block 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
- ...
| 117565 |
1546 | | - |
1547 | void QXcbConnection::handleClientMessageEvent(const xcb_client_message_event_t *event) | - |
1548 | { | - |
1549 | if (event->format != 32TRUE | never evaluated | FALSE | evaluated 4076 times by 97 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
|
) | 0-4076 |
1550 | return; never executed: return; | 0 |
1551 | | - |
1552 | | - |
1553 | if (event->type == atom(QXcbAtom::XdndStatus)TRUE | never evaluated | FALSE | evaluated 4076 times by 97 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
|
) { | 0-4076 |
1554 | drag()->handleStatus(event); | - |
1555 | } never executed: end of block else if (event->type == atom(QXcbAtom::XdndFinished)TRUE | never evaluated | FALSE | evaluated 4076 times by 97 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
|
) { | 0-4076 |
1556 | drag()->handleFinished(event); | - |
1557 | } never executed: end of block | 0 |
1558 | | - |
1559 | if (m_systemTrayTrackerTRUE | evaluated 2 times by 1 test | FALSE | evaluated 4074 times by 96 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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
- tst_QFileSystemModel
- ...
|
&& event->type == atom(QXcbAtom::MANAGER)TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-4074 |
1560 | m_systemTrayTracker->notifyManagerClientMessageEvent(event); never executed: m_systemTrayTracker->notifyManagerClientMessageEvent(event); | 0 |
1561 | | - |
1562 | QXcbWindow *window = platformWindowFromId(event->window); | - |
1563 | if (!windowTRUE | evaluated 842 times by 52 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
| FALSE | evaluated 3234 times by 94 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) | 842-3234 |
1564 | return;executed 842 times by 52 tests: return; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QBoxLayout
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
| 842 |
1565 | | - |
1566 | window->handleClientMessageEvent(event); | - |
1567 | }executed 3234 times by 94 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- 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_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 3234 |
1568 | | - |
1569 | xcb_generic_event_t *QXcbConnection::checkEvent(int type) | - |
1570 | { | - |
1571 | QXcbEventArray *eventqueue = m_reader->lock(); | - |
1572 | | - |
1573 | for (int i = 0; i < eventqueue->size()TRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
1574 | xcb_generic_event_t *event = eventqueue->at(i); | - |
1575 | if (eventTRUE | never evaluated | FALSE | never evaluated |
&& event->response_type == typeTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1576 | (*eventqueue)[i] = 0; | - |
1577 | m_reader->unlock(); | - |
1578 | return never executed: return event; event;never executed: return event; | 0 |
1579 | } | - |
1580 | } never executed: end of block | 0 |
1581 | | - |
1582 | m_reader->unlock(); | - |
1583 | | - |
1584 | return never executed: return 0; 0;never executed: return 0; | 0 |
1585 | } | - |
1586 | | - |
1587 | static const char * xcb_atomnames = { | - |
1588 | | - |
1589 | "WM_PROTOCOLS\0" | - |
1590 | "WM_DELETE_WINDOW\0" | - |
1591 | "WM_TAKE_FOCUS\0" | - |
1592 | "_NET_WM_PING\0" | - |
1593 | "_NET_WM_CONTEXT_HELP\0" | - |
1594 | "_NET_WM_SYNC_REQUEST\0" | - |
1595 | "_NET_WM_SYNC_REQUEST_COUNTER\0" | - |
1596 | "MANAGER\0" | - |
1597 | "_NET_SYSTEM_TRAY_OPCODE\0" | - |
1598 | | - |
1599 | | - |
1600 | "WM_STATE\0" | - |
1601 | "WM_CHANGE_STATE\0" | - |
1602 | "WM_CLASS\0" | - |
1603 | "WM_NAME\0" | - |
1604 | | - |
1605 | | - |
1606 | "WM_CLIENT_LEADER\0" | - |
1607 | "WM_WINDOW_ROLE\0" | - |
1608 | "SM_CLIENT_ID\0" | - |
1609 | | - |
1610 | | - |
1611 | "CLIPBOARD\0" | - |
1612 | "INCR\0" | - |
1613 | "TARGETS\0" | - |
1614 | "MULTIPLE\0" | - |
1615 | "TIMESTAMP\0" | - |
1616 | "SAVE_TARGETS\0" | - |
1617 | "CLIP_TEMPORARY\0" | - |
1618 | "_QT_SELECTION\0" | - |
1619 | "_QT_CLIPBOARD_SENTINEL\0" | - |
1620 | "_QT_SELECTION_SENTINEL\0" | - |
1621 | "CLIPBOARD_MANAGER\0" | - |
1622 | | - |
1623 | "RESOURCE_MANAGER\0" | - |
1624 | | - |
1625 | "_XSETROOT_ID\0" | - |
1626 | | - |
1627 | "_QT_SCROLL_DONE\0" | - |
1628 | "_QT_INPUT_ENCODING\0" | - |
1629 | | - |
1630 | "_QT_CLOSE_CONNECTION\0" | - |
1631 | | - |
1632 | "_MOTIF_WM_HINTS\0" | - |
1633 | | - |
1634 | "DTWM_IS_RUNNING\0" | - |
1635 | "ENLIGHTENMENT_DESKTOP\0" | - |
1636 | "_DT_SAVE_MODE\0" | - |
1637 | "_SGI_DESKS_MANAGER\0" | - |
1638 | | - |
1639 | | - |
1640 | "_NET_SUPPORTED\0" | - |
1641 | "_NET_VIRTUAL_ROOTS\0" | - |
1642 | "_NET_WORKAREA\0" | - |
1643 | | - |
1644 | "_NET_MOVERESIZE_WINDOW\0" | - |
1645 | "_NET_WM_MOVERESIZE\0" | - |
1646 | | - |
1647 | "_NET_WM_NAME\0" | - |
1648 | "_NET_WM_ICON_NAME\0" | - |
1649 | "_NET_WM_ICON\0" | - |
1650 | | - |
1651 | "_NET_WM_PID\0" | - |
1652 | | - |
1653 | "_NET_WM_WINDOW_OPACITY\0" | - |
1654 | | - |
1655 | "_NET_WM_STATE\0" | - |
1656 | "_NET_WM_STATE_ABOVE\0" | - |
1657 | "_NET_WM_STATE_BELOW\0" | - |
1658 | "_NET_WM_STATE_FULLSCREEN\0" | - |
1659 | "_NET_WM_STATE_MAXIMIZED_HORZ\0" | - |
1660 | "_NET_WM_STATE_MAXIMIZED_VERT\0" | - |
1661 | "_NET_WM_STATE_MODAL\0" | - |
1662 | "_NET_WM_STATE_STAYS_ON_TOP\0" | - |
1663 | "_NET_WM_STATE_DEMANDS_ATTENTION\0" | - |
1664 | | - |
1665 | "_NET_WM_USER_TIME\0" | - |
1666 | "_NET_WM_USER_TIME_WINDOW\0" | - |
1667 | "_NET_WM_FULL_PLACEMENT\0" | - |
1668 | | - |
1669 | "_NET_WM_WINDOW_TYPE\0" | - |
1670 | "_NET_WM_WINDOW_TYPE_DESKTOP\0" | - |
1671 | "_NET_WM_WINDOW_TYPE_DOCK\0" | - |
1672 | "_NET_WM_WINDOW_TYPE_TOOLBAR\0" | - |
1673 | "_NET_WM_WINDOW_TYPE_MENU\0" | - |
1674 | "_NET_WM_WINDOW_TYPE_UTILITY\0" | - |
1675 | "_NET_WM_WINDOW_TYPE_SPLASH\0" | - |
1676 | "_NET_WM_WINDOW_TYPE_DIALOG\0" | - |
1677 | "_NET_WM_WINDOW_TYPE_DROPDOWN_MENU\0" | - |
1678 | "_NET_WM_WINDOW_TYPE_POPUP_MENU\0" | - |
1679 | "_NET_WM_WINDOW_TYPE_TOOLTIP\0" | - |
1680 | "_NET_WM_WINDOW_TYPE_NOTIFICATION\0" | - |
1681 | "_NET_WM_WINDOW_TYPE_COMBO\0" | - |
1682 | "_NET_WM_WINDOW_TYPE_DND\0" | - |
1683 | "_NET_WM_WINDOW_TYPE_NORMAL\0" | - |
1684 | "_KDE_NET_WM_WINDOW_TYPE_OVERRIDE\0" | - |
1685 | | - |
1686 | "_KDE_NET_WM_FRAME_STRUT\0" | - |
1687 | "_NET_FRAME_EXTENTS\0" | - |
1688 | | - |
1689 | "_NET_STARTUP_INFO\0" | - |
1690 | "_NET_STARTUP_INFO_BEGIN\0" | - |
1691 | | - |
1692 | "_NET_SUPPORTING_WM_CHECK\0" | - |
1693 | | - |
1694 | "_NET_WM_CM_S0\0" | - |
1695 | | - |
1696 | "_NET_SYSTEM_TRAY_VISUAL\0" | - |
1697 | | - |
1698 | "_NET_ACTIVE_WINDOW\0" | - |
1699 | | - |
1700 | | - |
1701 | "TEXT\0" | - |
1702 | "UTF8_STRING\0" | - |
1703 | "CARDINAL\0" | - |
1704 | | - |
1705 | | - |
1706 | "XdndEnter\0" | - |
1707 | "XdndPosition\0" | - |
1708 | "XdndStatus\0" | - |
1709 | "XdndLeave\0" | - |
1710 | "XdndDrop\0" | - |
1711 | "XdndFinished\0" | - |
1712 | "XdndTypeList\0" | - |
1713 | "XdndActionList\0" | - |
1714 | | - |
1715 | "XdndSelection\0" | - |
1716 | | - |
1717 | "XdndAware\0" | - |
1718 | "XdndProxy\0" | - |
1719 | | - |
1720 | "XdndActionCopy\0" | - |
1721 | "XdndActionLink\0" | - |
1722 | "XdndActionMove\0" | - |
1723 | "XdndActionPrivate\0" | - |
1724 | | - |
1725 | | - |
1726 | "_MOTIF_DRAG_AND_DROP_MESSAGE\0" | - |
1727 | "_MOTIF_DRAG_INITIATOR_INFO\0" | - |
1728 | "_MOTIF_DRAG_RECEIVER_INFO\0" | - |
1729 | "_MOTIF_DRAG_WINDOW\0" | - |
1730 | "_MOTIF_DRAG_TARGETS\0" | - |
1731 | | - |
1732 | "XmTRANSFER_SUCCESS\0" | - |
1733 | "XmTRANSFER_FAILURE\0" | - |
1734 | | - |
1735 | | - |
1736 | "_XKB_RULES_NAMES\0" | - |
1737 | | - |
1738 | | - |
1739 | "_XEMBED\0" | - |
1740 | "_XEMBED_INFO\0" | - |
1741 | | - |
1742 | | - |
1743 | "Button Left\0" | - |
1744 | "Button Middle\0" | - |
1745 | "Button Right\0" | - |
1746 | "Button Wheel Up\0" | - |
1747 | "Button Wheel Down\0" | - |
1748 | "Button Horiz Wheel Left\0" | - |
1749 | "Button Horiz Wheel Right\0" | - |
1750 | "Abs MT Position X\0" | - |
1751 | "Abs MT Position Y\0" | - |
1752 | "Abs MT Touch Major\0" | - |
1753 | "Abs MT Touch Minor\0" | - |
1754 | "Abs MT Orientation\0" | - |
1755 | "Abs MT Pressure\0" | - |
1756 | "Abs MT Tracking ID\0" | - |
1757 | "Max Contacts\0" | - |
1758 | "Rel X\0" | - |
1759 | "Rel Y\0" | - |
1760 | | - |
1761 | "Abs X\0" | - |
1762 | "Abs Y\0" | - |
1763 | "Abs Pressure\0" | - |
1764 | "Abs Tilt X\0" | - |
1765 | "Abs Tilt Y\0" | - |
1766 | "Abs Wheel\0" | - |
1767 | "Abs Distance\0" | - |
1768 | "Wacom Serial IDs\0" | - |
1769 | "INTEGER\0" | - |
1770 | "Rel Horiz Wheel\0" | - |
1771 | "Rel Vert Wheel\0" | - |
1772 | "Rel Horiz Scroll\0" | - |
1773 | "Rel Vert Scroll\0" | - |
1774 | "_XSETTINGS_SETTINGS\0" | - |
1775 | "_COMPIZ_DECOR_PENDING\0" | - |
1776 | "_COMPIZ_DECOR_REQUEST\0" | - |
1777 | "_COMPIZ_DECOR_DELETE_PIXMAP\0" | - |
1778 | "_COMPIZ_TOOLKIT_ACTION\0" | - |
1779 | "_GTK_LOAD_ICONTHEMES\0" | - |
1780 | | - |
1781 | }; | - |
1782 | | - |
1783 | QXcbAtom::Atom QXcbConnection::qatom(xcb_atom_t xatom) const | - |
1784 | { | - |
1785 | returnexecuted 11880 times by 71 tests: return static_cast<QXcbAtom::Atom>(std::find(m_allAtoms, m_allAtoms + QXcbAtom::NAtoms, xatom) - m_allAtoms); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
static_cast<QXcbAtom::Atom>(std::find(m_allAtoms, m_allAtoms + QXcbAtom::NAtoms, xatom) - m_allAtoms);executed 11880 times by 71 tests: return static_cast<QXcbAtom::Atom>(std::find(m_allAtoms, m_allAtoms + QXcbAtom::NAtoms, xatom) - m_allAtoms); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 11880 |
1786 | } | - |
1787 | | - |
1788 | void QXcbConnection::initializeAllAtoms() { | - |
1789 | const char *names[QXcbAtom::NAtoms]; | - |
1790 | const char *ptr = xcb_atomnames; | - |
1791 | | - |
1792 | int i = 0; | - |
1793 | while (*TRUE | evaluated 18963 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
ptrTRUE | evaluated 18963 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 129-18963 |
1794 | names[i++] = ptr; | - |
1795 | while (*TRUE | evaluated 318243 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 18963 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
ptrTRUE | evaluated 318243 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 18963 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 18963-318243 |
1796 | ++executed 318243 times by 5 tests: ++ptr; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
ptr;executed 318243 times by 5 tests: ++ptr; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 318243 |
1797 | ++ptr; | - |
1798 | }executed 18963 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
| 18963 |
1799 | | - |
1800 | ((!(i == QXcbAtom::NPredefinedAtoms)) ? qt_assert("i == QXcbAtom::NPredefinedAtoms",__FILE__,2002) : qt_noop()); | - |
1801 | | - |
1802 | QByteArray settings_atom_name("_QT_SETTINGS_TIMESTAMP_"); | - |
1803 | settings_atom_name += m_displayName; | - |
1804 | names[i++] = settings_atom_name; | - |
1805 | | - |
1806 | xcb_intern_atom_cookie_t cookies[QXcbAtom::NAtoms]; | - |
1807 | | - |
1808 | ((!(i == QXcbAtom::NAtoms)) ? qt_assert("i == QXcbAtom::NAtoms",__FILE__,2010) : qt_noop()); | - |
1809 | for (i = 0; i < QXcbAtom::NAtomsTRUE | evaluated 19092 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; ++i) | 129-19092 |
1810 | cookies[i] = xcb_intern_atom(xcb_connection(), false, strlen(names[i]), names[i]);executed 19092 times by 5 tests: cookies[i] = xcb_intern_atom(xcb_connection(), false, strlen(names[i]), names[i]); Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 19092 |
1811 | | - |
1812 | for (i = 0; i < QXcbAtom::NAtomsTRUE | evaluated 19092 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; ++i) { | 129-19092 |
1813 | xcb_intern_atom_reply_t *reply = xcb_intern_atom_reply(xcb_connection(), cookies[i], 0); | - |
1814 | m_allAtoms[i] = reply->atom; | - |
1815 | free(reply); | - |
1816 | }executed 19092 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
| 19092 |
1817 | }executed 129 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
| 129 |
1818 | | - |
1819 | xcb_atom_t QXcbConnection::internAtom(const char *name) | - |
1820 | { | - |
1821 | if (!nameTRUE | never evaluated | FALSE | evaluated 333 times by 133 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
|| *TRUE | never evaluated | FALSE | evaluated 333 times by 133 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
name == 0TRUE | never evaluated | FALSE | evaluated 333 times by 133 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
) | 0-333 |
1822 | return never executed: return 0L; 0L;never executed: return 0L; | 0 |
1823 | | - |
1824 | xcb_intern_atom_cookie_t cookie = xcb_intern_atom(xcb_connection(), false, strlen(name), name); | - |
1825 | xcb_intern_atom_reply_t *reply = xcb_intern_atom_reply(xcb_connection(), cookie, 0); | - |
1826 | int atom = reply->atom; | - |
1827 | free(reply); | - |
1828 | returnexecuted 333 times by 133 tests: return atom; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
atom;executed 333 times by 133 tests: return atom; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 333 |
1829 | } | - |
1830 | | - |
1831 | QByteArray QXcbConnection::atomName(xcb_atom_t atom) | - |
1832 | { | - |
1833 | if (!atomTRUE | never evaluated | FALSE | evaluated 1713 times by 10 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_QStyleSheetStyle
- tst_qapplication - unknown status
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qprocess - unknown status
- tst_qtextedit - unknown status
- tst_selftests - unknown status
|
) | 0-1713 |
1834 | return never executed: return QByteArray(); QByteArray();never executed: return QByteArray(); | 0 |
1835 | | - |
1836 | xcb_generic_error_t *error = 0; | - |
1837 | xcb_get_atom_name_cookie_t cookie = xcb_get_atom_name(xcb_connection(), atom); | - |
1838 | xcb_get_atom_name_reply_t *reply = xcb_get_atom_name_reply(xcb_connection(), cookie, &error); | - |
1839 | if (errorTRUE | never evaluated | FALSE | evaluated 1713 times by 10 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_QStyleSheetStyle
- tst_qapplication - unknown status
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qprocess - unknown status
- tst_qtextedit - unknown status
- tst_selftests - unknown status
|
) { | 0-1713 |
1840 | QMessageLogger(__FILE__, 2042, __PRETTY_FUNCTION__).warning() << "QXcbConnection::atomName: bad Atom" << atom; | - |
1841 | free(error); | - |
1842 | } never executed: end of block | 0 |
1843 | if (replyTRUE | evaluated 1713 times by 10 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_QStyleSheetStyle
- tst_qapplication - unknown status
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qprocess - unknown status
- tst_qtextedit - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
) { | 0-1713 |
1844 | QByteArray result(xcb_get_atom_name_name(reply), xcb_get_atom_name_name_length(reply)); | - |
1845 | free(reply); | - |
1846 | returnexecuted 1713 times by 10 tests: return result; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_QStyleSheetStyle
- tst_qapplication - unknown status
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qprocess - unknown status
- tst_qtextedit - unknown status
- tst_selftests - unknown status
result;executed 1713 times by 10 tests: return result; Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_QStyleSheetStyle
- tst_qapplication - unknown status
- tst_qclipboard - unknown status
- tst_qlineedit - unknown status
- tst_qplaintextedit - unknown status
- tst_qprocess - unknown status
- tst_qtextedit - unknown status
- tst_selftests - unknown status
| 1713 |
1847 | } | - |
1848 | return never executed: return QByteArray(); QByteArray();never executed: return QByteArray(); | 0 |
1849 | } | - |
1850 | | - |
1851 | const xcb_format_t *QXcbConnection::formatForDepth(uint8_t depth) const | - |
1852 | { | - |
1853 | xcb_format_iterator_t iterator = | - |
1854 | xcb_setup_pixmap_formats_iterator(m_setup); | - |
1855 | | - |
1856 | while (iterator.remTRUE | evaluated 132 times by 3 testsEvaluated by:- tst_QOpenGLWidget
- tst_QToolTip
- tst_QWidget
| FALSE | never evaluated |
) { | 0-132 |
1857 | xcb_format_t *format = iterator.data; | - |
1858 | if (format->depth == depthTRUE | evaluated 22 times by 3 testsEvaluated by:- tst_QOpenGLWidget
- tst_QToolTip
- tst_QWidget
| FALSE | evaluated 110 times by 3 testsEvaluated by:- tst_QOpenGLWidget
- tst_QToolTip
- tst_QWidget
|
) | 22-110 |
1859 | returnexecuted 22 times by 3 tests: return format; Executed by:- tst_QOpenGLWidget
- tst_QToolTip
- tst_QWidget
format;executed 22 times by 3 tests: return format; Executed by:- tst_QOpenGLWidget
- tst_QToolTip
- tst_QWidget
| 22 |
1860 | xcb_format_next(&iterator); | - |
1861 | }executed 110 times by 3 tests: end of block Executed by:- tst_QOpenGLWidget
- tst_QToolTip
- tst_QWidget
| 110 |
1862 | | - |
1863 | return never executed: return 0; 0;never executed: return 0; | 0 |
1864 | } | - |
1865 | | - |
1866 | void QXcbConnection::sync() | - |
1867 | { | - |
1868 | | - |
1869 | xcb_get_input_focus_cookie_t cookie = xcb_get_input_focus(xcb_connection()); | - |
1870 | free(xcb_get_input_focus_reply(xcb_connection(), cookie, 0)); | - |
1871 | }executed 14010 times by 138 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| 14010 |
1872 | | - |
1873 | void QXcbConnection::initializeXFixes() | - |
1874 | { | - |
1875 | xcb_generic_error_t *error = 0; | - |
1876 | const xcb_query_extension_reply_t *reply = xcb_get_extension_data(m_connection, &xcb_xfixes_id); | - |
1877 | if (!replyTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| !reply->presentTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-129 |
1878 | return; never executed: return; | 0 |
1879 | | - |
1880 | xfixes_first_event = reply->first_event; | - |
1881 | xcb_xfixes_query_version_cookie_t xfixes_query_cookie = xcb_xfixes_query_version(m_connection, | - |
1882 | 5, | - |
1883 | 0); | - |
1884 | xcb_xfixes_query_version_reply_t *xfixes_query = xcb_xfixes_query_version_reply (m_connection, | - |
1885 | xfixes_query_cookie, &error); | - |
1886 | if (!xfixes_queryTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| errorTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| xfixes_query->major_version < 2TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
1887 | QMessageLogger(__FILE__, 2089, __PRETTY_FUNCTION__).warning("QXcbConnection: Failed to initialize XFixes"); | - |
1888 | free(error); | - |
1889 | xfixes_first_event = 0; | - |
1890 | } never executed: end of block | 0 |
1891 | free(xfixes_query); | - |
1892 | }executed 129 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
| 129 |
1893 | | - |
1894 | void QXcbConnection::initializeXRender() | - |
1895 | { | - |
1896 | | - |
1897 | const xcb_query_extension_reply_t *reply = xcb_get_extension_data(m_connection, &xcb_render_id); | - |
1898 | if (!replyTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| !reply->presentTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-129 |
1899 | return; never executed: return; | 0 |
1900 | | - |
1901 | xcb_generic_error_t *error = 0; | - |
1902 | xcb_render_query_version_cookie_t xrender_query_cookie = xcb_render_query_version(m_connection, | - |
1903 | 0, | - |
1904 | 11); | - |
1905 | xcb_render_query_version_reply_t *xrender_query = xcb_render_query_version_reply(m_connection, | - |
1906 | xrender_query_cookie, &error); | - |
1907 | if (!xrender_queryTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| errorTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| (xrender_query->major_version == 0TRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
&& xrender_query->minor_version < 5TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
)) { | 0-129 |
1908 | QMessageLogger(__FILE__, 2110, __PRETTY_FUNCTION__).warning("QXcbConnection: Failed to initialize XRender"); | - |
1909 | free(error); | - |
1910 | } never executed: end of block | 0 |
1911 | free(xrender_query); | - |
1912 | | - |
1913 | }executed 129 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
| 129 |
1914 | | - |
1915 | void QXcbConnection::initializeXRandr() | - |
1916 | { | - |
1917 | const xcb_query_extension_reply_t *reply = xcb_get_extension_data(m_connection, &xcb_randr_id); | - |
1918 | if (!replyTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| !reply->presentTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-129 |
1919 | return; never executed: return; | 0 |
1920 | | - |
1921 | xrandr_first_event = reply->first_event; | - |
1922 | | - |
1923 | xcb_generic_error_t *error = 0; | - |
1924 | xcb_randr_query_version_cookie_t xrandr_query_cookie = xcb_randr_query_version(m_connection, | - |
1925 | 1, | - |
1926 | 4); | - |
1927 | | - |
1928 | has_randr_extension = true; | - |
1929 | | - |
1930 | xcb_randr_query_version_reply_t *xrandr_query = xcb_randr_query_version_reply(m_connection, | - |
1931 | xrandr_query_cookie, &error); | - |
1932 | if (!xrandr_queryTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| errorTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| (xrandr_query->major_version < 1TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| (xrandr_query->major_version == 1TRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
&& xrandr_query->minor_version < 2TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
))) { | 0-129 |
1933 | QMessageLogger(__FILE__, 2135, __PRETTY_FUNCTION__).warning("QXcbConnection: Failed to initialize XRandr"); | - |
1934 | free(error); | - |
1935 | has_randr_extension = false; | - |
1936 | } never executed: end of block | 0 |
1937 | free(xrandr_query); | - |
1938 | | - |
1939 | xcb_screen_iterator_t rootIter = xcb_setup_roots_iterator(m_setup); | - |
1940 | for (; rootIter.remTRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
; xcb_screen_next(&rootIter)) { | 129 |
1941 | xcb_randr_select_input(xcb_connection(), | - |
1942 | rootIter.data->root, | - |
1943 | XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE | | - |
1944 | XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE | | - |
1945 | XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE | | - |
1946 | XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY | - |
1947 | ); | - |
1948 | }executed 129 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
| 129 |
1949 | }executed 129 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
| 129 |
1950 | | - |
1951 | void QXcbConnection::initializeXinerama() | - |
1952 | { | - |
1953 | const xcb_query_extension_reply_t *reply = xcb_get_extension_data(m_connection, &xcb_xinerama_id); | - |
1954 | if (!replyTRUE | never evaluated | FALSE | never evaluated |
|| !reply->presentTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1955 | return; never executed: return; | 0 |
1956 | | - |
1957 | xcb_generic_error_t *error = nullptr; | - |
1958 | xcb_xinerama_is_active_cookie_t xinerama_query_cookie = xcb_xinerama_is_active(m_connection); | - |
1959 | xcb_xinerama_is_active_reply_t *xinerama_is_active = xcb_xinerama_is_active_reply(m_connection, | - |
1960 | xinerama_query_cookie, | - |
1961 | &error); | - |
1962 | has_xinerama_extension = xinerama_is_activeTRUE | never evaluated | FALSE | never evaluated |
&& !errorTRUE | never evaluated | FALSE | never evaluated |
&& xinerama_is_active->stateTRUE | never evaluated | FALSE | never evaluated |
; | 0 |
1963 | free(error); | - |
1964 | free(xinerama_is_active); | - |
1965 | } never executed: end of block | 0 |
1966 | | - |
1967 | void QXcbConnection::initializeXShape() | - |
1968 | { | - |
1969 | const xcb_query_extension_reply_t *xshape_reply = xcb_get_extension_data(m_connection, &xcb_shape_id); | - |
1970 | if (!xshape_replyTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| !xshape_reply->presentTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-129 |
1971 | return; never executed: return; | 0 |
1972 | | - |
1973 | has_shape_extension = true; | - |
1974 | xcb_shape_query_version_cookie_t cookie = xcb_shape_query_version(m_connection); | - |
1975 | xcb_shape_query_version_reply_t *shape_query = xcb_shape_query_version_reply(m_connection, | - |
1976 | cookie, __null); | - |
1977 | if (!shape_queryTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
1978 | QMessageLogger(__FILE__, 2180, __PRETTY_FUNCTION__).warning("QXcbConnection: Failed to initialize SHAPE extension"); | - |
1979 | } never executed: end of block else if (shape_query->major_version > 1TRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| (shape_query->major_version == 1TRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
&& shape_query->minor_version >= 1TRUE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
)) { | 0-129 |
1980 | | - |
1981 | has_input_shape = true; | - |
1982 | }executed 129 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
| 129 |
1983 | free(shape_query); | - |
1984 | }executed 129 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
| 129 |
1985 | | - |
1986 | void QXcbConnection::initializeXKB() | - |
1987 | { | - |
1988 | | - |
1989 | const xcb_query_extension_reply_t *reply = xcb_get_extension_data(m_connection, &xcb_xkb_id); | - |
1990 | if (!replyTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
|| !reply->presentTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
1991 | QMessageLogger(__FILE__, 2193, __PRETTY_FUNCTION__).warning() << "Qt: XKEYBOARD extension not present on the X server."; | - |
1992 | xkb_first_event = 0; | - |
1993 | return; never executed: return; | 0 |
1994 | } | - |
1995 | xkb_first_event = reply->first_event; | - |
1996 | | - |
1997 | xcb_connection_t *c = connection()->xcb_connection(); | - |
1998 | xcb_xkb_use_extension_cookie_t xkb_query_cookie; | - |
1999 | xcb_xkb_use_extension_reply_t *xkb_query; | - |
2000 | | - |
2001 | xkb_query_cookie = xcb_xkb_use_extension(c, 1, 0); | - |
2002 | xkb_query = xcb_xkb_use_extension_reply(c, xkb_query_cookie, 0); | - |
2003 | | - |
2004 | if (!xkb_queryTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
2005 | QMessageLogger(__FILE__, 2207, __PRETTY_FUNCTION__).warning("Qt: Failed to initialize XKB extension"); | - |
2006 | return; never executed: return; | 0 |
2007 | } else if (!xkb_query->supportedTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
2008 | QMessageLogger(__FILE__, 2210, __PRETTY_FUNCTION__).warning("Qt: Unsupported XKB version (We want %d %d, but X server has %d %d)", | - |
2009 | 1, 0, | - |
2010 | xkb_query->serverMajor, xkb_query->serverMinor); | - |
2011 | free(xkb_query); | - |
2012 | return; never executed: return; | 0 |
2013 | } | - |
2014 | | - |
2015 | has_xkb = true; | - |
2016 | free(xkb_query); | - |
2017 | | - |
2018 | const uint16_t required_map_parts = (XCB_XKB_MAP_PART_KEY_TYPES | | - |
2019 | XCB_XKB_MAP_PART_KEY_SYMS | | - |
2020 | XCB_XKB_MAP_PART_MODIFIER_MAP | | - |
2021 | XCB_XKB_MAP_PART_EXPLICIT_COMPONENTS | | - |
2022 | XCB_XKB_MAP_PART_KEY_ACTIONS | | - |
2023 | XCB_XKB_MAP_PART_KEY_BEHAVIORS | | - |
2024 | XCB_XKB_MAP_PART_VIRTUAL_MODS | | - |
2025 | XCB_XKB_MAP_PART_VIRTUAL_MOD_MAP); | - |
2026 | | - |
2027 | const uint16_t required_events = (XCB_XKB_EVENT_TYPE_NEW_KEYBOARD_NOTIFY | | - |
2028 | XCB_XKB_EVENT_TYPE_MAP_NOTIFY | | - |
2029 | XCB_XKB_EVENT_TYPE_STATE_NOTIFY); | - |
2030 | | - |
2031 | | - |
2032 | | - |
2033 | xcb_void_cookie_t select = xcb_xkb_select_events_checked(c, | - |
2034 | XCB_XKB_ID_USE_CORE_KBD, | - |
2035 | required_events, | - |
2036 | 0, | - |
2037 | required_events, | - |
2038 | required_map_parts, | - |
2039 | required_map_parts, | - |
2040 | 0); | - |
2041 | | - |
2042 | xcb_generic_error_t *error = xcb_request_check(c, select); | - |
2043 | if (errorTRUE | never evaluated | FALSE | evaluated 129 times by 5 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 0-129 |
2044 | free(error); | - |
2045 | QMessageLogger(__FILE__, 2247, __PRETTY_FUNCTION__).warning() << "Qt: failed to select notify events from xcb-xkb"; | - |
2046 | return; never executed: return; | 0 |
2047 | } | - |
2048 | | - |
2049 | }executed 129 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
| 129 |
2050 | | - |
2051 | | - |
2052 | bool QXcbConnection::xi2MouseEvents() const | - |
2053 | { | - |
2054 | static bool mouseViaXI2 = !qEnvironmentVariableIsSet("QT_XCB_NO_XI2_MOUSE"); | - |
2055 | | - |
2056 | | - |
2057 | returnexecuted 13220 times by 125 tests: return mouseViaXI2 && !has_xinerama_extension; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
mouseViaXI2TRUE | evaluated 13220 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
&& !has_xinerama_extensionTRUE | evaluated 13220 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
;executed 13220 times by 125 tests: return mouseViaXI2 && !has_xinerama_extension; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- 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_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 0-13220 |
2058 | } | - |
2059 | | - |
2060 | | - |
2061 | | - |
2062 | static int xi2ValuatorOffset(unsigned char *maskPtr, int maskLen, int number) | - |
2063 | { | - |
2064 | int offset = 0; | - |
2065 | for (int i = 0; i < maskLenTRUE | never evaluated | FALSE | never evaluated |
; i++) { | 0 |
2066 | if (number < 8TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2067 | if ((TRUE | never evaluated | FALSE | never evaluated |
maskPtr[i] & (1 << number)) == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2068 | return never executed: return -1; -1;never executed: return -1; | 0 |
2069 | } never executed: end of block | 0 |
2070 | for (int j = 0; j < 8TRUE | never evaluated | FALSE | never evaluated |
; j++) { | 0 |
2071 | if (j == numberTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2072 | return never executed: return offset; offset;never executed: return offset; | 0 |
2073 | if (maskPtr[i] & (1 << j)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2074 | offset++; never executed: offset++; | 0 |
2075 | } never executed: end of block | 0 |
2076 | number -= 8; | - |
2077 | } never executed: end of block | 0 |
2078 | return never executed: return -1; -1;never executed: return -1; | 0 |
2079 | } | - |
2080 | | - |
2081 | bool QXcbConnection::xi2GetValuatorValueIfSet(void *event, int valuatorNum, double *value) | - |
2082 | { | - |
2083 | xXIDeviceEvent *xideviceevent = static_cast<xXIDeviceEvent *>(event); | - |
2084 | unsigned char *buttonsMaskAddr = (unsigned char*)&xideviceevent[1]; | - |
2085 | unsigned char *valuatorsMaskAddr = buttonsMaskAddr + xideviceevent->buttons_len * 4; | - |
2086 | FP3232 *valuatorsValuesAddr = (FP3232*)(valuatorsMaskAddr + xideviceevent->valuators_len * 4); | - |
2087 | | - |
2088 | int valuatorOffset = xi2ValuatorOffset(valuatorsMaskAddr, xideviceevent->valuators_len, valuatorNum); | - |
2089 | if (valuatorOffset < 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2090 | return never executed: return false; false;never executed: return false; | 0 |
2091 | | - |
2092 | *value = valuatorsValuesAddr[valuatorOffset].integral; | - |
2093 | *value += ((double)valuatorsValuesAddr[valuatorOffset].frac / (1 << 16) / (1 << 16)); | - |
2094 | return never executed: return true; true;never executed: return true; | 0 |
2095 | } | - |
2096 | | - |
2097 | void QXcbConnection::xi2PrepareXIGenericDeviceEvent(xcb_ge_event_t *event) | - |
2098 | { | - |
2099 | | - |
2100 | | - |
2101 | | - |
2102 | | - |
2103 | memmove((char*) event + 32, (char*) event + 36, event->length * 4); | - |
2104 | }executed 2085 times by 69 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 2085 |
2105 | | - |
2106 | | - |
2107 | QXcbSystemTrayTracker *QXcbConnection::systemTrayTracker() const | - |
2108 | { | - |
2109 | if (!m_systemTrayTrackerTRUE | evaluated 1 time by 1 test | FALSE | evaluated 25 times by 1 test |
) { | 1-25 |
2110 | QXcbConnection *self = const_cast<QXcbConnection *>(this); | - |
2111 | if ((TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
self->m_systemTrayTracker = QXcbSystemTrayTracker::create(self))TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) { | 0-1 |
2112 | connect(m_systemTrayTracker, qFlagLocation("2""systemTrayWindowChanged(QScreen*)" "\0" __FILE__ ":" "2314"), | - |
2113 | QGuiApplication::platformNativeInterface(), qFlagLocation("2""systemTrayWindowChanged(QScreen*)" "\0" __FILE__ ":" "2315")); | - |
2114 | }executed 1 time by 1 test: end of block | 1 |
2115 | }executed 1 time by 1 test: end of block | 1 |
2116 | returnexecuted 26 times by 1 test: return m_systemTrayTracker; m_systemTrayTracker;executed 26 times by 1 test: return m_systemTrayTracker; | 26 |
2117 | } | - |
2118 | | - |
2119 | bool QXcbConnection::xEmbedSystemTrayAvailable() | - |
2120 | { | - |
2121 | if (!QGuiApplicationPrivate::platformIntegration()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2122 | return never executed: return false; false;never executed: return false; | 0 |
2123 | QXcbConnection *connection = static_cast<QXcbIntegration *>(QGuiApplicationPrivate::platformIntegration())->defaultConnection(); | - |
2124 | return never executed: return connection->systemTrayTracker(); connection->systemTrayTracker();never executed: return connection->systemTrayTracker(); | 0 |
2125 | } | - |
2126 | | - |
2127 | bool QXcbConnection::xEmbedSystemTrayVisualHasAlphaChannel() | - |
2128 | { | - |
2129 | if (!QGuiApplicationPrivate::platformIntegration()TRUE | never evaluated | FALSE | evaluated 3 times by 1 test |
) | 0-3 |
2130 | return never executed: return false; false;never executed: return false; | 0 |
2131 | QXcbConnection *connection = static_cast<QXcbIntegration *>(QGuiApplicationPrivate::platformIntegration())->defaultConnection(); | - |
2132 | returnexecuted 3 times by 1 test: return connection->systemTrayTracker() && connection->systemTrayTracker()->visualHasAlphaChannel(); connection->systemTrayTracker()TRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
&& connection->systemTrayTracker()->visualHasAlphaChannel()TRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
;executed 3 times by 1 test: return connection->systemTrayTracker() && connection->systemTrayTracker()->visualHasAlphaChannel(); | 0-3 |
2133 | } | - |
2134 | | - |
2135 | bool QXcbConnection::event(QEvent *e) | - |
2136 | { | - |
2137 | if (e->type() == QEvent::User + 1TRUE | never evaluated | FALSE | evaluated 117566 times by 113 testsEvaluated 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
- ...
|
) { | 0-117566 |
2138 | QXcbSyncWindowRequest *ev = static_cast<QXcbSyncWindowRequest *>(e); | - |
2139 | QXcbWindow *w = ev->window(); | - |
2140 | if (wTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2141 | w->updateSyncRequestCounter(); | - |
2142 | ev->invalidate(); | - |
2143 | } never executed: end of block | 0 |
2144 | return never executed: return true; true;never executed: return true; | 0 |
2145 | } | - |
2146 | returnexecuted 117566 times by 113 tests: return QObject::event(e); 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
- ...
QObject::event(e);executed 117566 times by 113 tests: return QObject::event(e); 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
- ...
| 117566 |
2147 | } | - |
2148 | | - |
2149 | void QXcbSyncWindowRequest::invalidate() | - |
2150 | { | - |
2151 | if (m_windowTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2152 | m_window->clearSyncWindowRequest(); | - |
2153 | m_window = 0; | - |
2154 | } never executed: end of block | 0 |
2155 | } never executed: end of block | 0 |
2156 | | - |
2157 | QXcbConnectionGrabber::QXcbConnectionGrabber(QXcbConnection *connection) | - |
2158 | :m_connection(connection) | - |
2159 | { | - |
2160 | connection->grabServer(); | - |
2161 | }executed 19 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
2162 | | - |
2163 | QXcbConnectionGrabber::~QXcbConnectionGrabber() | - |
2164 | { | - |
2165 | if (m_connectionTRUE | evaluated 19 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| FALSE | never evaluated |
) | 0-19 |
2166 | m_connection->ungrabServer();executed 19 times by 19 tests: m_connection->ungrabServer(); Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
2167 | }executed 19 times by 19 tests: end of block Executed by:- tst_QAccessibility
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QPrinter
- tst_QSizeGrip
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QTextBrowser
- tst_QWidget
| 19 |
2168 | | - |
2169 | void QXcbConnectionGrabber::release() | - |
2170 | { | - |
2171 | if (m_connectionTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2172 | m_connection->ungrabServer(); | - |
2173 | m_connection = 0; | - |
2174 | } never executed: end of block | 0 |
2175 | } never executed: end of block | 0 |
2176 | | - |
2177 | | - |
| | |