accessible/qaccessiblewidget.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4 -
5 -
6 -
7static QList<QWidget*> childWidgets(const QWidget *widget) -
8{ -
9 QList<QObject*> list = widget->children(); -
10 QList<QWidget*> widgets; -
11 for (int i = 0; i < list.size(); ++i) {
evaluated: i < list.size()
TRUEFALSE
yes
Evaluation Count:300
yes
Evaluation Count:85
85-300
12 QWidget *w = qobject_cast<QWidget *>(list.at(i)); -
13 if (w && !w->isWindow()
evaluated: w
TRUEFALSE
yes
Evaluation Count:243
yes
Evaluation Count:57
partially evaluated: !w->isWindow()
TRUEFALSE
yes
Evaluation Count:243
no
Evaluation Count:0
0-243
14 && !qobject_cast<QFocusFrame*>(w)
partially evaluated: !qobject_cast<QFocusFrame*>(w)
TRUEFALSE
yes
Evaluation Count:243
no
Evaluation Count:0
0-243
15 -
16 && !qobject_cast<QMenu*>(w)
partially evaluated: !qobject_cast<QMenu*>(w)
TRUEFALSE
yes
Evaluation Count:243
no
Evaluation Count:0
0-243
17 -
18 && w->objectName() != QLatin1String("qt_rubberband"))
partially evaluated: w->objectName() != QLatin1String("qt_rubberband")
TRUEFALSE
yes
Evaluation Count:243
no
Evaluation Count:0
0-243
19 widgets.append(w);
executed: widgets.append(w);
Execution Count:243
243
20 }
executed: }
Execution Count:300
300
21 return widgets;
executed: return widgets;
Execution Count:85
85
22} -
23 -
24static QString buddyString(const QWidget *widget) -
25{ -
26 if (!widget)
partially evaluated: !widget
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:8
0-8
27 return QString();
never executed: return QString();
0
28 QWidget *parent = widget->parentWidget(); -
29 if (!parent)
partially evaluated: !parent
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:8
0-8
30 return QString();
never executed: return QString();
0
31 -
32 QObjectList ol = parent->children(); -
33 for (int i = 0; i < ol.size(); ++i) {
partially evaluated: i < ol.size()
TRUEFALSE
yes
Evaluation Count:16
no
Evaluation Count:0
0-16
34 QLabel *label = qobject_cast<QLabel*>(ol.at(i)); -
35 if (label && label->buddy() == widget)
evaluated: label
TRUEFALSE
yes
Evaluation Count:8
yes
Evaluation Count:8
partially evaluated: label->buddy() == widget
TRUEFALSE
yes
Evaluation Count:8
no
Evaluation Count:0
0-8
36 return label->text();
executed: return label->text();
Execution Count:8
8
37 }
executed: }
Execution Count:8
8
38 -
39 -
40 -
41 QGroupBox *groupbox = qobject_cast<QGroupBox*>(parent); -
42 if (groupbox)
never evaluated: groupbox
0
43 return groupbox->title();
never executed: return groupbox->title();
0
44 -
45 -
46 return QString();
never executed: return QString();
0
47} -
48 -
49 -
50 -
51 -
52static int qt_accAmpIndex(const QString &text) -
53{ -
54 -
55 if (text.isEmpty())
evaluated: text.isEmpty()
TRUEFALSE
yes
Evaluation Count:9
yes
Evaluation Count:55
9-55
56 return -1;
executed: return -1;
Execution Count:9
9
57 -
58 int fa = 0; -
59 QChar ac; -
60 while ((fa = text.indexOf(QLatin1Char('&'), fa)) != -1) {
evaluated: (fa = text.indexOf(QLatin1Char('&'), fa)) != -1
TRUEFALSE
yes
Evaluation Count:17
yes
Evaluation Count:43
17-43
61 ++fa; -
62 if (fa < text.length()) {
evaluated: fa < text.length()
TRUEFALSE
yes
Evaluation Count:16
yes
Evaluation Count:1
1-16
63 -
64 if (text.at(fa) == QLatin1Char('&')) {
evaluated: text.at(fa) == QLatin1Char('&')
TRUEFALSE
yes
Evaluation Count:4
yes
Evaluation Count:12
4-12
65 -
66 ++fa; -
67 continue;
executed: continue;
Execution Count:4
4
68 } else { -
69 return fa - 1;
executed: return fa - 1;
Execution Count:12
12
70 break;
dead code: break;
-
71 } -
72 } -
73 }
executed: }
Execution Count:1
1
74 -
75 return -1;
executed: return -1;
Execution Count:43
43
76 -
77 -
78 -
79 -
80} -
81 -
82QString __attribute__((visibility("default"))) qt_accStripAmp(const QString &text) -
83{ -
84 QString newText(text); -
85 int ampIndex = qt_accAmpIndex(newText); -
86 if (ampIndex != -1)
evaluated: ampIndex != -1
TRUEFALSE
yes
Evaluation Count:5
yes
Evaluation Count:46
5-46
87 newText.remove(ampIndex, 1);
executed: newText.remove(ampIndex, 1);
Execution Count:5
5
88 -
89 return newText.replace(QLatin1String("&&"), QLatin1String("&"));
executed: return newText.replace(QLatin1String("&&"), QLatin1String("&"));
Execution Count:51
51
90} -
91 -
92QString __attribute__((visibility("default"))) qt_accHotKey(const QString &text) -
93{ -
94 int ampIndex = qt_accAmpIndex(text); -
95 if (ampIndex != -1)
evaluated: ampIndex != -1
TRUEFALSE
yes
Evaluation Count:7
yes
Evaluation Count:6
6-7
96 return QKeySequence(Qt::ALT).toString(QKeySequence::NativeText) + text.at(ampIndex + 1);
executed: return QKeySequence(Qt::ALT).toString(QKeySequence::NativeText) + text.at(ampIndex + 1);
Execution Count:7
7
97 -
98 return QString();
executed: return QString();
Execution Count:6
6
99} -
100 -
101class QAccessibleWidgetPrivate -
102{ -
103public: -
104 QAccessibleWidgetPrivate() -
105 :role(QAccessible::Client) -
106 {}
executed: }
Execution Count:203
203
107 -
108 QAccessible::Role role; -
109 QString name; -
110 QStringList primarySignals; -
111}; -
112QAccessibleWidget::QAccessibleWidget(QWidget *w, QAccessible::Role role, const QString &name) -
113: QAccessibleObject(w) -
114{ -
115 qt_noop(); -
116 d = new QAccessibleWidgetPrivate(); -
117 d->role = role; -
118 d->name = name; -
119}
executed: }
Execution Count:203
203
120 -
121 -
122QWindow *QAccessibleWidget::window() const -
123{ -
124 return widget()->windowHandle();
never executed: return widget()->windowHandle();
0
125} -
126 -
127 -
128 -
129 -
130QAccessibleWidget::~QAccessibleWidget() -
131{ -
132 delete d; -
133}
executed: }
Execution Count:156
156
134 -
135 -
136 -
137 -
138QWidget *QAccessibleWidget::widget() const -
139{ -
140 return qobject_cast<QWidget*>(object());
executed: return qobject_cast<QWidget*>(object());
Execution Count:533
533
141} -
142 -
143 -
144 -
145 -
146 -
147QObject *QAccessibleWidget::parentObject() const -
148{ -
149 QObject *parent = object()->parent(); -
150 if (!parent)
never evaluated: !parent
0
151 parent = (static_cast<QApplication *>(QCoreApplication::instance()));
never executed: parent = (static_cast<QApplication *>(QCoreApplication::instance()));
0
152 return parent;
never executed: return parent;
0
153} -
154 -
155 -
156QRect QAccessibleWidget::rect() const -
157{ -
158 QWidget *w = widget(); -
159 if (!w->isVisible())
evaluated: !w->isVisible()
TRUEFALSE
yes
Evaluation Count:7
yes
Evaluation Count:37
7-37
160 return QRect();
executed: return QRect();
Execution Count:7
7
161 QPoint wpos = w->mapToGlobal(QPoint(0, 0)); -
162 -
163 return QRect(wpos.x(), wpos.y(), w->width(), w->height());
executed: return QRect(wpos.x(), wpos.y(), w->width(), w->height());
Execution Count:37
37
164} -
165 -
166 -
167 -
168 -
169class QACConnectionObject : public QObject -
170{ -
171 inline QObjectPrivate* d_func() { return reinterpret_cast<QObjectPrivate *>(qGetPtrHelper(d_ptr)); } inline const QObjectPrivate* d_func() const { return reinterpret_cast<const QObjectPrivate *>(qGetPtrHelper(d_ptr)); } friend class QObjectPrivate;
never executed: return reinterpret_cast<QObjectPrivate *>(qGetPtrHelper(d_ptr));
executed: return reinterpret_cast<const QObjectPrivate *>(qGetPtrHelper(d_ptr));
Execution Count:1
0-1
172public: -
173 inline bool isSender(const QObject *receiver, const char *signal) const -
174 { return d_func()->isSender(receiver, signal); }
never executed: return d_func()->isSender(receiver, signal);
0
175 inline QObjectList receiverList(const char *signal) const -
176 { return d_func()->receiverList(signal); }
executed: return d_func()->receiverList(signal);
Execution Count:1
1
177 inline QObjectList senderList() const -
178 { return d_func()->senderList(); }
never executed: return d_func()->senderList();
0
179}; -
180 -
181 -
182 -
183 -
184 -
185 -
186 -
187void QAccessibleWidget::addControllingSignal(const QString &signal) -
188{ -
189 QByteArray s = QMetaObject::normalizedSignature(signal.toLatin1()); -
190 if (object()->metaObject()->indexOfSignal(s) < 0)
partially evaluated: object()->metaObject()->indexOfSignal(s) < 0
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:62
0-62
191 QMessageLogger("accessible/qaccessiblewidget.cpp", 276, __PRETTY_FUNCTION__).warning("Signal %s unknown in %s", s.constData(), object()->metaObject()->className());
never executed: QMessageLogger("accessible/qaccessiblewidget.cpp", 276, __PRETTY_FUNCTION__).warning("Signal %s unknown in %s", s.constData(), object()->metaObject()->className());
0
192 d->primarySignals << QLatin1String(s); -
193}
executed: }
Execution Count:62
62
194 -
195static inline bool isAncestor(const QObject *obj, const QObject *child) -
196{ -
197 while (child) {
never evaluated: child
0
198 if (child == obj)
never evaluated: child == obj
0
199 return true;
never executed: return true;
0
200 child = child->parent(); -
201 }
never executed: }
0
202 return false;
never executed: return false;
0
203} -
204 -
205 -
206QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > -
207QAccessibleWidget::relations(QAccessible::Relation match ) const -
208{ -
209 QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > rels; -
210 if (match & QAccessible::Label) {
partially evaluated: match & QAccessible::Label
TRUEFALSE
yes
Evaluation Count:1
no
Evaluation Count:0
0-1
211 const QAccessible::Relation rel = QAccessible::Label; -
212 if (QWidget *parent = widget()->parentWidget()) {
partially evaluated: QWidget *parent = widget()->parentWidget()
TRUEFALSE
yes
Evaluation Count:1
no
Evaluation Count:0
0-1
213 -
214 -
215 -
216 -
217 const QList<QWidget*> kids = childWidgets(parent); -
218 for (int i = 0; i < kids.count(); ++i) {
evaluated: i < kids.count()
TRUEFALSE
yes
Evaluation Count:1
yes
Evaluation Count:1
1
219 if (QLabel *labelSibling = qobject_cast<QLabel*>(kids.at(i))) {
partially evaluated: QLabel *labelSibling = qobject_cast<QLabel*>(kids.at(i))
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:1
0-1
220 if (labelSibling->buddy() == widget()) {
never evaluated: labelSibling->buddy() == widget()
0
221 QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(labelSibling); -
222 rels.append(qMakePair(iface, rel)); -
223 }
never executed: }
0
224 }
never executed: }
0
225 }
executed: }
Execution Count:1
1
226 -
227 -
228 QGroupBox *groupbox = qobject_cast<QGroupBox*>(parent); -
229 if (groupbox && !groupbox->title().isEmpty()) {
partially evaluated: groupbox
TRUEFALSE
yes
Evaluation Count:1
no
Evaluation Count:0
partially evaluated: !groupbox->title().isEmpty()
TRUEFALSE
yes
Evaluation Count:1
no
Evaluation Count:0
0-1
230 QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(groupbox); -
231 rels.append(qMakePair(iface, rel)); -
232 }
executed: }
Execution Count:1
1
233 -
234 }
executed: }
Execution Count:1
1
235 }
executed: }
Execution Count:1
1
236 -
237 if (match & QAccessible::Controlled) {
partially evaluated: match & QAccessible::Controlled
TRUEFALSE
yes
Evaluation Count:1
no
Evaluation Count:0
0-1
238 QObjectList allReceivers; -
239 QACConnectionObject *connectionObject = (QACConnectionObject*)object(); -
240 for (int sig = 0; sig < d->primarySignals.count(); ++sig) {
evaluated: sig < d->primarySignals.count()
TRUEFALSE
yes
Evaluation Count:1
yes
Evaluation Count:1
1
241 const QObjectList receivers = connectionObject->receiverList(d->primarySignals.at(sig).toLatin1()); -
242 allReceivers += receivers; -
243 }
executed: }
Execution Count:1
1
244 -
245 allReceivers.removeAll(object()); -
246 -
247 for (int i = 0; i < allReceivers.count(); ++i) {
partially evaluated: i < allReceivers.count()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:1
0-1
248 const QAccessible::Relation rel = QAccessible::Controlled; -
249 QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(allReceivers.at(i)); -
250 if (iface)
never evaluated: iface
0
251 rels.append(qMakePair(iface, rel));
never executed: rels.append(qMakePair(iface, rel));
0
252 }
never executed: }
0
253 }
executed: }
Execution Count:1
1
254 -
255 return rels;
executed: return rels;
Execution Count:1
1
256} -
257 -
258 -
259QAccessibleInterface *QAccessibleWidget::parent() const -
260{ -
261 QObject *parentWidget= widget()->parentWidget(); -
262 if (!parentWidget)
evaluated: !parentWidget
TRUEFALSE
yes
Evaluation Count:1
yes
Evaluation Count:20
1-20
263 parentWidget = (static_cast<QApplication *>(QCoreApplication::instance()));
executed: parentWidget = (static_cast<QApplication *>(QCoreApplication::instance()));
Execution Count:1
1
264 return QAccessible::queryAccessibleInterface(parentWidget);
executed: return QAccessible::queryAccessibleInterface(parentWidget);
Execution Count:21
21
265} -
266 -
267 -
268QAccessibleInterface *QAccessibleWidget::child(int index) const -
269{ -
270 QWidgetList childList = childWidgets(widget()); -
271 if (index >= 0 && index < childList.size())
evaluated: index >= 0
TRUEFALSE
yes
Evaluation Count:29
yes
Evaluation Count:1
evaluated: index < childList.size()
TRUEFALSE
yes
Evaluation Count:27
yes
Evaluation Count:2
1-29
272 return QAccessible::queryAccessibleInterface(childList.at(index));
executed: return QAccessible::queryAccessibleInterface(childList.at(index));
Execution Count:27
27
273 return 0;
executed: return 0;
Execution Count:3
3
274} -
275 -
276 -
277QAccessibleInterface *QAccessibleWidget::focusChild() const -
278{ -
279 if (widget()->hasFocus())
never evaluated: widget()->hasFocus()
0
280 return QAccessible::queryAccessibleInterface(object());
never executed: return QAccessible::queryAccessibleInterface(object());
0
281 -
282 QWidget *fw = widget()->focusWidget(); -
283 if (!fw)
never evaluated: !fw
0
284 return 0;
never executed: return 0;
0
285 -
286 if (isAncestor(widget(), fw) || fw == widget())
never evaluated: isAncestor(widget(), fw)
never evaluated: fw == widget()
0
287 return QAccessible::queryAccessibleInterface(fw);
never executed: return QAccessible::queryAccessibleInterface(fw);
0
288 return 0;
never executed: return 0;
0
289} -
290 -
291 -
292int QAccessibleWidget::childCount() const -
293{ -
294 QWidgetList cl = childWidgets(widget()); -
295 return cl.size();
executed: return cl.size();
Execution Count:44
44
296} -
297 -
298 -
299int QAccessibleWidget::indexOfChild(const QAccessibleInterface *child) const -
300{ -
301 QWidgetList cl = childWidgets(widget()); -
302 return cl.indexOf(qobject_cast<QWidget *>(child->object()));
executed: return cl.indexOf(qobject_cast<QWidget *>(child->object()));
Execution Count:10
10
303} -
304 -
305 -
306extern QString qt_setWindowTitle_helperHelper(const QString &, const QWidget*); -
307 -
308 -
309QString QAccessibleWidget::text(QAccessible::Text t) const -
310{ -
311 QString str; -
312 -
313 switch (t) { -
314 case QAccessible::Name: -
315 if (!d->name.isEmpty()) {
partially evaluated: !d->name.isEmpty()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:19
0-19
316 str = d->name; -
317 } else if (!widget()->accessibleName().isEmpty()) {
evaluated: !widget()->accessibleName().isEmpty()
TRUEFALSE
yes
Evaluation Count:17
yes
Evaluation Count:2
never executed: }
0-17
318 str = widget()->accessibleName(); -
319 } else if (widget()->isWindow()) {
partially evaluated: widget()->isWindow()
TRUEFALSE
yes
Evaluation Count:2
no
Evaluation Count:0
executed: }
Execution Count:17
0-17
320 if (widget()->isMinimized())
partially evaluated: widget()->isMinimized()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:2
0-2
321 str = qt_setWindowTitle_helperHelper(widget()->windowIconText(), widget());
never executed: str = qt_setWindowTitle_helperHelper(widget()->windowIconText(), widget());
0
322 else -
323 str = qt_setWindowTitle_helperHelper(widget()->windowTitle(), widget());
executed: str = qt_setWindowTitle_helperHelper(widget()->windowTitle(), widget());
Execution Count:2
2
324 } else { -
325 str = qt_accStripAmp(buddyString(widget())); -
326 }
never executed: }
0
327 break;
executed: break;
Execution Count:19
19
328 case QAccessible::Description: -
329 if (!widget()->accessibleDescription().isEmpty())
evaluated: !widget()->accessibleDescription().isEmpty()
TRUEFALSE
yes
Evaluation Count:24
yes
Evaluation Count:1
1-24
330 str = widget()->accessibleDescription();
executed: str = widget()->accessibleDescription();
Execution Count:24
24
331 -
332 else -
333 str = widget()->toolTip();
executed: str = widget()->toolTip();
Execution Count:1
1
334 -
335 break;
executed: break;
Execution Count:25
25
336 case QAccessible::Help: -
337 -
338 str = widget()->whatsThis(); -
339 -
340 break;
never executed: break;
0
341 case QAccessible::Accelerator: -
342 str = qt_accHotKey(buddyString(widget())); -
343 break;
executed: break;
Execution Count:8
8
344 case QAccessible::Value: -
345 break;
executed: break;
Execution Count:3
3
346 default: -
347 break;
never executed: break;
0
348 } -
349 return str;
executed: return str;
Execution Count:55
55
350} -
351 -
352 -
353QStringList QAccessibleWidget::actionNames() const -
354{ -
355 QStringList names; -
356 if (widget()->isEnabled()) {
partially evaluated: widget()->isEnabled()
TRUEFALSE
yes
Evaluation Count:14
no
Evaluation Count:0
0-14
357 if (widget()->focusPolicy() != Qt::NoFocus)
evaluated: widget()->focusPolicy() != Qt::NoFocus
TRUEFALSE
yes
Evaluation Count:12
yes
Evaluation Count:2
2-12
358 names << setFocusAction();
executed: names << setFocusAction();
Execution Count:12
12
359 }
executed: }
Execution Count:14
14
360 return names;
executed: return names;
Execution Count:14
14
361} -
362 -
363 -
364void QAccessibleWidget::doAction(const QString &actionName) -
365{ -
366 if (!widget()->isEnabled())
partially evaluated: !widget()->isEnabled()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:1
0-1
367 return;
never executed: return;
0
368 -
369 if (actionName == setFocusAction()) {
partially evaluated: actionName == setFocusAction()
TRUEFALSE
yes
Evaluation Count:1
no
Evaluation Count:0
0-1
370 if (widget()->isWindow())
partially evaluated: widget()->isWindow()
TRUEFALSE
yes
Evaluation Count:1
no
Evaluation Count:0
0-1
371 widget()->activateWindow();
executed: widget()->activateWindow();
Execution Count:1
1
372 widget()->setFocus(); -
373 }
executed: }
Execution Count:1
1
374}
executed: }
Execution Count:1
1
375 -
376 -
377QStringList QAccessibleWidget::keyBindingsForAction(const QString & ) const -
378{ -
379 return QStringList();
never executed: return QStringList();
0
380} -
381 -
382 -
383QAccessible::Role QAccessibleWidget::role() const -
384{ -
385 return d->role;
executed: return d->role;
Execution Count:43
43
386} -
387 -
388 -
389QAccessible::State QAccessibleWidget::state() const -
390{ -
391 QAccessible::State state; -
392 -
393 QWidget *w = widget(); -
394 if (w->testAttribute(Qt::WA_WState_Visible) == false)
evaluated: w->testAttribute(Qt::WA_WState_Visible) == false
TRUEFALSE
yes
Evaluation Count:17
yes
Evaluation Count:23
17-23
395 state.invisible = true;
executed: state.invisible = true;
Execution Count:17
17
396 if (w->focusPolicy() != Qt::NoFocus)
evaluated: w->focusPolicy() != Qt::NoFocus
TRUEFALSE
yes
Evaluation Count:29
yes
Evaluation Count:11
11-29
397 state.focusable = true;
executed: state.focusable = true;
Execution Count:29
29
398 if (w->hasFocus())
partially evaluated: w->hasFocus()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:40
0-40
399 state.focused = true;
never executed: state.focused = true;
0
400 if (!w->isEnabled())
partially evaluated: !w->isEnabled()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:40
0-40
401 state.disabled = true;
never executed: state.disabled = true;
0
402 if (w->isWindow()) {
evaluated: w->isWindow()
TRUEFALSE
yes
Evaluation Count:24
yes
Evaluation Count:16
16-24
403 if (w->windowFlags() & Qt::WindowSystemMenuHint)
evaluated: w->windowFlags() & Qt::WindowSystemMenuHint
TRUEFALSE
yes
Evaluation Count:21
yes
Evaluation Count:3
3-21
404 state.movable = true;
executed: state.movable = true;
Execution Count:21
21
405 if (w->minimumSize() != w->maximumSize())
partially evaluated: w->minimumSize() != w->maximumSize()
TRUEFALSE
yes
Evaluation Count:24
no
Evaluation Count:0
0-24
406 state.sizeable = true;
executed: state.sizeable = true;
Execution Count:24
24
407 if (w->isActiveWindow())
evaluated: w->isActiveWindow()
TRUEFALSE
yes
Evaluation Count:1
yes
Evaluation Count:23
1-23
408 state.active = true;
executed: state.active = true;
Execution Count:1
1
409 }
executed: }
Execution Count:24
24
410 -
411 return state;
executed: return state;
Execution Count:40
40
412} -
413 -
414 -
415QColor QAccessibleWidget::foregroundColor() const -
416{ -
417 return widget()->palette().color(widget()->foregroundRole());
never executed: return widget()->palette().color(widget()->foregroundRole());
0
418} -
419 -
420 -
421QColor QAccessibleWidget::backgroundColor() const -
422{ -
423 return widget()->palette().color(widget()->backgroundRole());
never executed: return widget()->palette().color(widget()->backgroundRole());
0
424} -
425 -
426 -
427void *QAccessibleWidget::interface_cast(QAccessible::InterfaceType t) -
428{ -
429 if (t == QAccessible::ActionInterface)
partially evaluated: t == QAccessible::ActionInterface
TRUEFALSE
yes
Evaluation Count:13
no
Evaluation Count:0
0-13
430 return static_cast<QAccessibleActionInterface*>(this);
executed: return static_cast<QAccessibleActionInterface*>(this);
Execution Count:13
13
431 return 0;
never executed: return 0;
0
432} -
433 -
434 -
435 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial