kernel/qshortcut.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4 -
5static bool correctWidgetContext(Qt::ShortcutContext context, QWidget *w, QWidget *active_window); -
6 -
7static bool correctGraphicsWidgetContext(Qt::ShortcutContext context, QGraphicsWidget *w, QWidget *active_window); -
8 -
9 -
10static bool correctActionContext(Qt::ShortcutContext context, QAction *a, QWidget *active_window); -
11 -
12 -
13 -
14 -
15 -
16 -
17 -
18bool qWidgetShortcutContextMatcher(QObject *object, Qt::ShortcutContext context) -
19{ -
20 qt_noop(); -
21 -
22 QWidget *active_window = QApplication::activeWindow(); -
23 -
24 -
25 -
26 -
27 if (QApplication::activePopupWidget())
partially evaluated: QApplication::activePopupWidget()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:219
0-219
28 active_window = QApplication::activePopupWidget();
never executed: active_window = QApplication::activePopupWidget();
0
29 -
30 if (!active_window)
partially evaluated: !active_window
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:219
0-219
31 return false;
never executed: return false;
0
32 -
33 -
34 if (QAction *a = qobject_cast<QAction *>(object))
evaluated: QAction *a = qobject_cast<QAction *>(object)
TRUEFALSE
yes
Evaluation Count:16
yes
Evaluation Count:203
16-203
35 return correctActionContext(context, a, active_window);
executed: return correctActionContext(context, a, active_window);
Execution Count:16
16
36 -
37 -
38 -
39 if (QGraphicsWidget *gw = qobject_cast<QGraphicsWidget *>(object))
partially evaluated: QGraphicsWidget *gw = qobject_cast<QGraphicsWidget *>(object)
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:203
0-203
40 return correctGraphicsWidgetContext(context, gw, active_window);
never executed: return correctGraphicsWidgetContext(context, gw, active_window);
0
41 -
42 -
43 QWidget *w = qobject_cast<QWidget *>(object); -
44 if (!w) {
evaluated: !w
TRUEFALSE
yes
Evaluation Count:178
yes
Evaluation Count:25
25-178
45 QShortcut *s = qobject_cast<QShortcut *>(object); -
46 if (s)
partially evaluated: s
TRUEFALSE
yes
Evaluation Count:178
no
Evaluation Count:0
0-178
47 w = s->parentWidget();
executed: w = s->parentWidget();
Execution Count:178
178
48 }
executed: }
Execution Count:178
178
49 -
50 if (!w)
partially evaluated: !w
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:203
0-203
51 return false;
never executed: return false;
0
52 -
53 return correctWidgetContext(context, w, active_window);
executed: return correctWidgetContext(context, w, active_window);
Execution Count:203
203
54} -
55 -
56static bool correctWidgetContext(Qt::ShortcutContext context, QWidget *w, QWidget *active_window) -
57{ -
58 bool visible = w->isVisible(); -
59 -
60 -
61 -
62 -
63 -
64 if (!visible || !w->isEnabled())
partially evaluated: !visible
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:218
partially evaluated: !w->isEnabled()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:218
0-218
65 return false;
never executed: return false;
0
66 -
67 if (context == Qt::ApplicationShortcut)
evaluated: context == Qt::ApplicationShortcut
TRUEFALSE
yes
Evaluation Count:1
yes
Evaluation Count:217
1-217
68 return QApplicationPrivate::tryModalHelper(w, 0);
executed: return QApplicationPrivate::tryModalHelper(w, 0);
Execution Count:1
1
69 -
70 if (context == Qt::WidgetShortcut)
evaluated: context == Qt::WidgetShortcut
TRUEFALSE
yes
Evaluation Count:2
yes
Evaluation Count:215
2-215
71 return w == QApplication::focusWidget();
executed: return w == QApplication::focusWidget();
Execution Count:2
2
72 -
73 if (context == Qt::WidgetWithChildrenShortcut) {
partially evaluated: context == Qt::WidgetWithChildrenShortcut
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:215
0-215
74 const QWidget *tw = QApplication::focusWidget(); -
75 while (tw && tw != w && (tw->windowType() == Qt::Widget || tw->windowType() == Qt::Popup))
never evaluated: tw
never evaluated: tw != w
never evaluated: tw->windowType() == Qt::Widget
never evaluated: tw->windowType() == Qt::Popup
0
76 tw = tw->parentWidget();
never executed: tw = tw->parentWidget();
0
77 return tw == w;
never executed: return tw == w;
0
78 } -
79 -
80 -
81 QWidget *tlw = w->window(); -
82 -
83 if (QWExtra *topData = static_cast<QWidgetPrivate *>(QObjectPrivate::get(tlw))->extra) {
partially evaluated: QWExtra *topData = static_cast<QWidgetPrivate *>(QObjectPrivate::get(tlw))->extra
TRUEFALSE
yes
Evaluation Count:215
no
Evaluation Count:0
0-215
84 if (topData->proxyWidget) {
partially evaluated: topData->proxyWidget
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:215
0-215
85 bool res = correctGraphicsWidgetContext(context, (QGraphicsWidget *)topData->proxyWidget, active_window); -
86 return res;
never executed: return res;
0
87 } -
88 }
executed: }
Execution Count:215
215
89 -
90 -
91 -
92 -
93 if (active_window != tlw && active_window && active_window->windowType() == Qt::Tool && active_window->parentWidget()) {
partially evaluated: active_window != tlw
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:215
never evaluated: active_window
never evaluated: active_window->windowType() == Qt::Tool
never evaluated: active_window->parentWidget()
0-215
94 active_window = active_window->parentWidget()->window(); -
95 }
never executed: }
0
96 -
97 if (active_window != tlw)
partially evaluated: active_window != tlw
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:215
0-215
98 return false;
never executed: return false;
0
99 -
100 -
101 -
102 const QWidget* sw = w; -
103 while (sw && !(sw->windowType() == Qt::SubWindow) && !sw->isWindow())
partially evaluated: sw
TRUEFALSE
yes
Evaluation Count:270
no
Evaluation Count:0
partially evaluated: !(sw->windowType() == Qt::SubWindow)
TRUEFALSE
yes
Evaluation Count:270
no
Evaluation Count:0
evaluated: !sw->isWindow()
TRUEFALSE
yes
Evaluation Count:55
yes
Evaluation Count:215
0-270
104 sw = sw->parentWidget();
executed: sw = sw->parentWidget();
Execution Count:55
55
105 if (sw && (sw->windowType() == Qt::SubWindow)) {
partially evaluated: sw
TRUEFALSE
yes
Evaluation Count:215
no
Evaluation Count:0
partially evaluated: (sw->windowType() == Qt::SubWindow)
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:215
0-215
106 QWidget *focus_widget = QApplication::focusWidget(); -
107 while (focus_widget && focus_widget != sw)
never evaluated: focus_widget
never evaluated: focus_widget != sw
0
108 focus_widget = focus_widget->parentWidget();
never executed: focus_widget = focus_widget->parentWidget();
0
109 return sw == focus_widget;
never executed: return sw == focus_widget;
0
110 } -
111 -
112 -
113 -
114 -
115 return true;
executed: return true;
Execution Count:215
215
116} -
117 -
118 -
119static bool correctGraphicsWidgetContext(Qt::ShortcutContext context, QGraphicsWidget *w, QWidget *active_window) -
120{ -
121 bool visible = w->isVisible(); -
122 -
123 -
124 -
125 -
126 -
127 if (!visible || !w->isEnabled() || !w->scene())
never evaluated: !visible
never evaluated: !w->isEnabled()
never evaluated: !w->scene()
0
128 return false;
never executed: return false;
0
129 -
130 if (context == Qt::ApplicationShortcut) {
never evaluated: context == Qt::ApplicationShortcut
0
131 -
132 -
133 -
134 QList<QGraphicsView *> views = w->scene()->views(); -
135 for (int i = 0; i < views.size(); ++i) {
never evaluated: i < views.size()
0
136 if (QApplicationPrivate::tryModalHelper(views.at(i), 0))
never evaluated: QApplicationPrivate::tryModalHelper(views.at(i), 0)
0
137 return true;
never executed: return true;
0
138 }
never executed: }
0
139 return false;
never executed: return false;
0
140 } -
141 -
142 if (context == Qt::WidgetShortcut)
never evaluated: context == Qt::WidgetShortcut
0
143 return static_cast<QGraphicsItem *>(w) == w->scene()->focusItem();
never executed: return static_cast<QGraphicsItem *>(w) == w->scene()->focusItem();
0
144 -
145 if (context == Qt::WidgetWithChildrenShortcut) {
never evaluated: context == Qt::WidgetWithChildrenShortcut
0
146 const QGraphicsItem *ti = w->scene()->focusItem(); -
147 if (ti && ti->isWidget()) {
never evaluated: ti
never evaluated: ti->isWidget()
0
148 const QGraphicsWidget *tw = static_cast<const QGraphicsWidget *>(ti); -
149 while (tw && tw != w && (tw->windowType() == Qt::Widget || tw->windowType() == Qt::Popup))
never evaluated: tw
never evaluated: tw != w
never evaluated: tw->windowType() == Qt::Widget
never evaluated: tw->windowType() == Qt::Popup
0
150 tw = tw->parentWidget();
never executed: tw = tw->parentWidget();
0
151 return tw == w;
never executed: return tw == w;
0
152 } -
153 return false;
never executed: return false;
0
154 } -
155 -
156 -
157 -
158 -
159 QList<QGraphicsView *> views = w->scene()->views(); -
160 QGraphicsView *activeView = 0; -
161 for (int i = 0; i < views.size(); ++i) {
never evaluated: i < views.size()
0
162 QGraphicsView *view = views.at(i); -
163 if (view->window() == active_window) {
never evaluated: view->window() == active_window
0
164 activeView = view; -
165 break;
never executed: break;
0
166 } -
167 }
never executed: }
0
168 if (!activeView)
never evaluated: !activeView
0
169 return false;
never executed: return false;
0
170 -
171 -
172 -
173 QGraphicsWidget *a = w->scene()->activeWindow(); -
174 return !w->window() || a == w->window();
never executed: return !w->window() || a == w->window();
0
175} -
176 -
177 -
178 -
179static bool correctActionContext(Qt::ShortcutContext context, QAction *a, QWidget *active_window) -
180{ -
181 const QList<QWidget *> &widgets = static_cast<QActionPrivate *>(QObjectPrivate::get(a))->widgets; -
182 -
183 -
184 -
185 -
186 for (int i = 0; i < widgets.size(); ++i) {
evaluated: i < widgets.size()
TRUEFALSE
yes
Evaluation Count:23
yes
Evaluation Count:1
1-23
187 QWidget *w = widgets.at(i); -
188 -
189 if (QMenu *menu = qobject_cast<QMenu *>(w)) {
evaluated: QMenu *menu = qobject_cast<QMenu *>(w)
TRUEFALSE
yes
Evaluation Count:8
yes
Evaluation Count:15
8-15
190 QAction *a = menu->menuAction(); -
191 if (correctActionContext(context, a, active_window))
partially evaluated: correctActionContext(context, a, active_window)
TRUEFALSE
yes
Evaluation Count:8
no
Evaluation Count:0
0-8
192 return true;
executed: return true;
Execution Count:8
8
193 } else
never executed: }
0
194 -
195 if (correctWidgetContext(context, w, active_window))
partially evaluated: correctWidgetContext(context, w, active_window)
TRUEFALSE
yes
Evaluation Count:15
no
Evaluation Count:0
0-15
196 return true;
executed: return true;
Execution Count:15
15
197 } -
198 -
199 -
200 const QList<QGraphicsWidget *> &graphicsWidgets = static_cast<QActionPrivate *>(QObjectPrivate::get(a))->graphicsWidgets; -
201 -
202 -
203 -
204 -
205 for (int i = 0; i < graphicsWidgets.size(); ++i) {
partially evaluated: i < graphicsWidgets.size()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:1
0-1
206 QGraphicsWidget *w = graphicsWidgets.at(i); -
207 if (correctGraphicsWidgetContext(context, w, active_window))
never evaluated: correctGraphicsWidgetContext(context, w, active_window)
0
208 return true;
never executed: return true;
0
209 }
never executed: }
0
210 -
211 return false;
executed: return false;
Execution Count:1
1
212} -
213class QShortcutPrivate : public QObjectPrivate -
214{ -
215 inline QShortcut* q_func() { return static_cast<QShortcut *>(q_ptr); } inline const QShortcut* q_func() const { return static_cast<const QShortcut *>(q_ptr); } friend class QShortcut; -
216public: -
217 QShortcutPrivate() : sc_context(Qt::WindowShortcut), sc_enabled(true), sc_autorepeat(true), sc_id(0) {}
executed: }
Execution Count:447
447
218 QKeySequence sc_sequence; -
219 Qt::ShortcutContext sc_context; -
220 bool sc_enabled; -
221 bool sc_autorepeat; -
222 int sc_id; -
223 QString sc_whatsthis; -
224 void redoGrab(QShortcutMap &map); -
225}; -
226 -
227void QShortcutPrivate::redoGrab(QShortcutMap &map) -
228{ -
229 QShortcut * const q = q_func(); -
230 if (!parent) {
partially evaluated: !parent
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:512
0-512
231 QMessageLogger("kernel/qshortcut.cpp", 381, __PRETTY_FUNCTION__).warning("QShortcut: No widget parent defined"); -
232 return;
never executed: return;
0
233 } -
234 -
235 if (sc_id)
partially evaluated: sc_id
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:512
0-512
236 map.removeShortcut(sc_id, q);
never executed: map.removeShortcut(sc_id, q);
0
237 if (sc_sequence.isEmpty())
evaluated: sc_sequence.isEmpty()
TRUEFALSE
yes
Evaluation Count:65
yes
Evaluation Count:447
65-447
238 return;
executed: return;
Execution Count:65
65
239 sc_id = map.addShortcut(q, sc_sequence, sc_context, qWidgetShortcutContextMatcher); -
240 if (!sc_enabled)
partially evaluated: !sc_enabled
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:447
0-447
241 map.setShortcutEnabled(false, sc_id, q);
never executed: map.setShortcutEnabled(false, sc_id, q);
0
242 if (!sc_autorepeat)
partially evaluated: !sc_autorepeat
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:447
0-447
243 map.setShortcutAutoRepeat(false, sc_id, q);
never executed: map.setShortcutAutoRepeat(false, sc_id, q);
0
244}
executed: }
Execution Count:447
447
245QShortcut::QShortcut(QWidget *parent) -
246 : QObject(*new QShortcutPrivate, parent) -
247{ -
248 qt_noop(); -
249}
executed: }
Execution Count:378
378
250QShortcut::QShortcut(const QKeySequence &key, QWidget *parent, -
251 const char *member, const char *ambiguousMember, -
252 Qt::ShortcutContext context) -
253 : QObject(*new QShortcutPrivate, parent) -
254{ -
255 if (!(static_cast<QApplication *>(QCoreApplication::instance()))) { QMessageLogger("kernel/qshortcut.cpp", 422, __PRETTY_FUNCTION__).warning("QShortcut: Initialize QApplication before calling '" "QShortcut" "'."); return; };
partially evaluated: !(static_cast<QApplication *>(QCoreApplication::instance()))
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:69
never executed: return;
0-69
256 -
257 QShortcutPrivate * const d = d_func(); -
258 qt_noop(); -
259 d->sc_context = context; -
260 d->sc_sequence = key; -
261 d->redoGrab((static_cast<QApplication *>(QCoreApplication::instance()))->d_func()->shortcutMap); -
262 if (member)
evaluated: member
TRUEFALSE
yes
Evaluation Count:4
yes
Evaluation Count:65
4-65
263 connect(this, "2""activated()", parent, member);
executed: connect(this, "2""activated()", parent, member);
Execution Count:4
4
264 if (ambiguousMember)
partially evaluated: ambiguousMember
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:69
0-69
265 connect(this, "2""activatedAmbiguously()", parent, ambiguousMember);
never executed: connect(this, "2""activatedAmbiguously()", parent, ambiguousMember);
0
266}
executed: }
Execution Count:69
69
267 -
268 -
269 -
270 -
271QShortcut::~QShortcut() -
272{ -
273 QShortcutPrivate * const d = d_func(); -
274 if ((static_cast<QApplication *>(QCoreApplication::instance())))
partially evaluated: (static_cast<QApplication *>(QCoreApplication::instance()))
TRUEFALSE
yes
Evaluation Count:447
no
Evaluation Count:0
0-447
275 (static_cast<QApplication *>(QCoreApplication::instance()))->d_func()->shortcutMap.removeShortcut(d->sc_id, this);
executed: (static_cast<QApplication *>(QCoreApplication::instance()))->d_func()->shortcutMap.removeShortcut(d->sc_id, this);
Execution Count:447
447
276}
executed: }
Execution Count:447
447
277void QShortcut::setKey(const QKeySequence &key) -
278{ -
279 QShortcutPrivate * const d = d_func(); -
280 if (d->sc_sequence == key)
evaluated: d->sc_sequence == key
TRUEFALSE
yes
Evaluation Count:2
yes
Evaluation Count:443
2-443
281 return;
executed: return;
Execution Count:2
2
282 if (!(static_cast<QApplication *>(QCoreApplication::instance()))) { QMessageLogger("kernel/qshortcut.cpp", 461, __PRETTY_FUNCTION__).warning("QShortcut: Initialize QApplication before calling '" "setKey" "'."); return; };
partially evaluated: !(static_cast<QApplication *>(QCoreApplication::instance()))
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:443
never executed: return;
0-443
283 d->sc_sequence = key; -
284 d->redoGrab((static_cast<QApplication *>(QCoreApplication::instance()))->d_func()->shortcutMap); -
285}
executed: }
Execution Count:443
443
286 -
287QKeySequence QShortcut::key() const -
288{ -
289 const QShortcutPrivate * const d = d_func(); -
290 return d->sc_sequence;
never executed: return d->sc_sequence;
0
291} -
292void QShortcut::setEnabled(bool enable) -
293{ -
294 QShortcutPrivate * const d = d_func(); -
295 if (d->sc_enabled == enable)
evaluated: d->sc_enabled == enable
TRUEFALSE
yes
Evaluation Count:1
yes
Evaluation Count:18
1-18
296 return;
executed: return;
Execution Count:1
1
297 if (!(static_cast<QApplication *>(QCoreApplication::instance()))) { QMessageLogger("kernel/qshortcut.cpp", 492, __PRETTY_FUNCTION__).warning("QShortcut: Initialize QApplication before calling '" "setEnabled" "'."); return; };
partially evaluated: !(static_cast<QApplication *>(QCoreApplication::instance()))
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:18
never executed: return;
0-18
298 d->sc_enabled = enable; -
299 (static_cast<QApplication *>(QCoreApplication::instance()))->d_func()->shortcutMap.setShortcutEnabled(enable, d->sc_id, this); -
300}
executed: }
Execution Count:18
18
301 -
302bool QShortcut::isEnabled() const -
303{ -
304 const QShortcutPrivate * const d = d_func(); -
305 return d->sc_enabled;
never executed: return d->sc_enabled;
0
306} -
307void QShortcut::setContext(Qt::ShortcutContext context) -
308{ -
309 QShortcutPrivate * const d = d_func(); -
310 if(d->sc_context == context)
never evaluated: d->sc_context == context
0
311 return;
never executed: return;
0
312 if (!(static_cast<QApplication *>(QCoreApplication::instance()))) { QMessageLogger("kernel/qshortcut.cpp", 520, __PRETTY_FUNCTION__).warning("QShortcut: Initialize QApplication before calling '" "setContext" "'."); return; };
never evaluated: !(static_cast<QApplication *>(QCoreApplication::instance()))
never executed: return;
0
313 d->sc_context = context; -
314 d->redoGrab((static_cast<QApplication *>(QCoreApplication::instance()))->d_func()->shortcutMap); -
315}
never executed: }
0
316 -
317Qt::ShortcutContext QShortcut::context() const -
318{ -
319 const QShortcutPrivate * const d = d_func(); -
320 return d->sc_context;
never executed: return d->sc_context;
0
321} -
322void QShortcut::setWhatsThis(const QString &text) -
323{ -
324 QShortcutPrivate * const d = d_func(); -
325 d->sc_whatsthis = text; -
326}
never executed: }
0
327 -
328QString QShortcut::whatsThis() const -
329{ -
330 const QShortcutPrivate * const d = d_func(); -
331 return d->sc_whatsthis;
never executed: return d->sc_whatsthis;
0
332} -
333void QShortcut::setAutoRepeat(bool on) -
334{ -
335 QShortcutPrivate * const d = d_func(); -
336 if (d->sc_autorepeat == on)
never evaluated: d->sc_autorepeat == on
0
337 return;
never executed: return;
0
338 if (!(static_cast<QApplication *>(QCoreApplication::instance()))) { QMessageLogger("kernel/qshortcut.cpp", 572, __PRETTY_FUNCTION__).warning("QShortcut: Initialize QApplication before calling '" "setAutoRepeat" "'."); return; };
never evaluated: !(static_cast<QApplication *>(QCoreApplication::instance()))
never executed: return;
0
339 d->sc_autorepeat = on; -
340 (static_cast<QApplication *>(QCoreApplication::instance()))->d_func()->shortcutMap.setShortcutAutoRepeat(on, d->sc_id, this); -
341}
never executed: }
0
342 -
343bool QShortcut::autoRepeat() const -
344{ -
345 const QShortcutPrivate * const d = d_func(); -
346 return d->sc_autorepeat;
never executed: return d->sc_autorepeat;
0
347} -
348 -
349 -
350 -
351 -
352 -
353 -
354int QShortcut::id() const -
355{ -
356 const QShortcutPrivate * const d = d_func(); -
357 return d->sc_id;
never executed: return d->sc_id;
0
358} -
359 -
360 -
361 -
362 -
363bool QShortcut::event(QEvent *e) -
364{ -
365 QShortcutPrivate * const d = d_func(); -
366 bool handled = false; -
367 if (d->sc_enabled && e->type() == QEvent::Shortcut) {
partially evaluated: d->sc_enabled
TRUEFALSE
yes
Evaluation Count:74
no
Evaluation Count:0
partially evaluated: e->type() == QEvent::Shortcut
TRUEFALSE
yes
Evaluation Count:74
no
Evaluation Count:0
0-74
368 QShortcutEvent *se = static_cast<QShortcutEvent *>(e); -
369 if (se->shortcutId() == d->sc_id && se->key() == d->sc_sequence){
partially evaluated: se->shortcutId() == d->sc_id
TRUEFALSE
yes
Evaluation Count:74
no
Evaluation Count:0
partially evaluated: se->key() == d->sc_sequence
TRUEFALSE
yes
Evaluation Count:74
no
Evaluation Count:0
0-74
370 -
371 if (QWhatsThis::inWhatsThisMode()) {
partially evaluated: QWhatsThis::inWhatsThisMode()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:74
0-74
372 QWhatsThis::showText(QCursor::pos(), d->sc_whatsthis); -
373 handled = true; -
374 } else
never executed: }
0
375 -
376 if (se->isAmbiguous())
evaluated: se->isAmbiguous()
TRUEFALSE
yes
Evaluation Count:20
yes
Evaluation Count:54
20-54
377 activatedAmbiguously();
executed: activatedAmbiguously();
Execution Count:20
20
378 else -
379 activated();
executed: activated();
Execution Count:54
54
380 handled = true; -
381 }
executed: }
Execution Count:74
74
382 }
executed: }
Execution Count:74
74
383 return handled;
executed: return handled;
Execution Count:74
74
384} -
385 -
386 -
387 -
388 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial