Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickaccessibleattached.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
6
7#if QT_CONFIG(accessibility)
8
9#include <QtQml/qqmlinfo.h>
10
11#include "private/qquickitem_p.h"
12
13QT_BEGIN_NAMESPACE
14
15/*!
16 \qmltype Accessible
17 \nativetype QQuickAccessibleAttached
18 \brief Enables accessibility of QML items.
19
20 \inqmlmodule QtQuick
21 \ingroup qtquick-visual-utility
22 \ingroup accessibility
23
24 This class is part of the \l {Accessibility for Qt Quick Applications}.
25
26 Items the user interacts with or that give information to the user
27 need to expose their information to the accessibility framework.
28 Then assistive tools can make use of that information to enable
29 users to interact with the application in various ways.
30 This enables Qt Quick applications to be used with screen-readers for example.
31
32 The most important properties are \l name, \l description and \l role.
33
34 Example implementation of a simple button:
35 \qml
36 Rectangle {
37 id: myButton
38 Text {
39 id: label
40 text: "next"
41 }
42 Accessible.role: Accessible.Button
43 Accessible.name: label.text
44 Accessible.description: "shows the next page"
45 Accessible.onPressAction: {
46 // do a button click
47 }
48 }
49 \endqml
50 The \l role is set to \c Button to indicate the type of control.
51 \l {Accessible::}{name} is the most important information and bound to the text on the button.
52 The name is a short and consise description of the control and should reflect the visual label.
53 In this case it is not clear what the button does with the name only, so \l description contains
54 an explanation.
55 There is also a signal handler \l {Accessible::pressAction}{Accessible.pressAction} which can be invoked by assistive tools to trigger
56 the button. This signal handler needs to have the same effect as tapping or clicking the button would have.
57
58 \sa Accessibility
59*/
60
61/*!
62 \qmlproperty string QtQuick::Accessible::name
63
64 This property sets an accessible name.
65 For a button for example, this should have a binding to its text.
66 In general this property should be set to a simple and concise
67 but human readable name. Do not include the type of control
68 you want to represent but just the name.
69*/
70
71/*!
72 \qmlproperty string QtQuick::Accessible::description
73
74 This property sets an accessible description.
75 Similar to the name it describes the item. The description
76 can be a little more verbose and tell what the item does,
77 for example the functionality of the button it describes.
78*/
79
80/*!
81 \qmlproperty enumeration QtQuick::Accessible::role
82
83 This flags sets the semantic type of the widget.
84 A button for example would have "Button" as type.
85 The value must be one of \l QAccessible::Role.
86
87 Some roles have special semantics.
88 In order to implement check boxes for example a "checked" property is expected.
89
90 \table
91 \header
92 \li \b {Role}
93 \li \b {Properties and signals}
94 \li \b {Explanation}
95 \row
96 \li All interactive elements
97 \li \l focusable and \l focused
98 \li All elements that the user can interact with should have focusable set to \c true and
99 set \c focus to \c true when they have the focus. This is important even for applications
100 that run on touch-only devices since screen readers often implement a virtual focus that
101 can be moved from item to item.
102 \row
103 \li Button, CheckBox, RadioButton, Switch
104 \li \l {Accessible::pressAction}{Accessible.pressAction}
105 \li A button should have a signal handler with the name \c onPressAction.
106 This signal may be emitted by an assistive tool such as a screen-reader.
107 The implementation needs to behave the same as a mouse click or tap on the button.
108 \row
109 \li CheckBox, RadioButton, Switch
110 \li \l checkable, \l checked, \l {Accessible::toggleAction}{Accessible.toggleAction}
111
112 \li The check state of the check box. Updated on Press, Check and Uncheck actions.
113 \row
114 \li Slider, SpinBox, Dial, ScrollBar
115 \li \c value, \c minimumValue, \c maximumValue, \c stepSize
116 \li These properties reflect the state and possible values for the elements.
117 \row
118 \li Slider, SpinBox, Dial, ScrollBar
119 \li \l {Accessible::increaseAction}{Accessible.increaseAction}, \l {Accessible::decreaseAction}{Accessible.decreaseAction}
120 \li Actions to increase and decrease the value of the element.
121 \endtable
122*/
123
124/*!
125 \qmlproperty string QtQuick::Accessible::id
126
127 This property sets an identifier for the object.
128 It can be used to provide stable identifiers to UI tests.
129 By default, the identifier is set to the ID of the QML object.
130 If the ID is not set the default of \l QAccessible::Identifier is used.
131*/
132
133/*! \qmlproperty bool QtQuick::Accessible::focusable
134 \brief This property holds whether this item is focusable.
135
136 By default, this property is \c false except for items where the role is one of
137 \c CheckBox, \c RadioButton, \c Switch, \c Button, \c MenuItem, \c PageTab,
138 \c EditableText, \c SpinBox, \c ComboBox, \c Terminal or \c ScrollBar.
139 \sa focused
140*/
141/*! \qmlproperty bool QtQuick::Accessible::focused
142 \brief This property holds whether this item currently has the active focus.
143
144 By default, this property is \c false, but it will return \c true for items that
145 have \l QQuickItem::hasActiveFocus() returning \c true.
146 \sa focusable
147*/
148/*! \qmlproperty bool QtQuick::Accessible::checkable
149 \brief This property holds whether this item is checkable (like a check box or some buttons).
150
151 By default this property is \c false.
152 \sa checked
153*/
154/*! \qmlproperty bool QtQuick::Accessible::checked
155 \brief This property holds whether this item is currently checked.
156
157 By default this property is \c false.
158 \sa checkable
159*/
160/*! \qmlproperty bool QtQuick::Accessible::editable
161 \brief This property holds whether this item has editable text.
162
163 By default this property is \c false.
164*/
165/*! \qmlproperty bool QtQuick::Accessible::searchEdit
166 \brief This property holds whether this item is input for a search query.
167 This property will only affect editable text.
168
169 By default this property is \c false.
170*/
171/*! \qmlproperty bool QtQuick::Accessible::ignored
172 \brief This property holds whether this item should be ignored by the accessibility framework.
173
174 Sometimes an item is part of a group of items that should be treated as one. For example two labels might be
175 visually placed next to each other, but separate items. For accessibility purposes they should be treated as one
176 and thus they are represented by a third invisible item with the right geometry.
177
178 For example a speed display adds "m/s" as a smaller label:
179 \qml
180 Row {
181 Label {
182 id: speedLabel
183 text: "Speed: 5"
184 Accessible.ignored: true
185 }
186 Label {
187 text: qsTr("m/s")
188 Accessible.ignored: true
189 }
190 Accessible.role: Accessible.StaticText
191 Accessible.name: speedLabel.text + " meters per second"
192 }
193 \endqml
194
195 \since 5.4
196 By default this property is \c false.
197*/
198/*! \qmlproperty bool QtQuick::Accessible::multiLine
199 \brief This property holds whether this item has multiple text lines.
200
201 By default this property is \c false.
202*/
203/*! \qmlproperty bool QtQuick::Accessible::readOnly
204 \brief This property indicates that a text field is read only.
205
206 It is relevant when the role is \l QAccessible::EditableText and set to be read-only.
207 By default this property is \c false.
208*/
209/*! \qmlproperty bool QtQuick::Accessible::selected
210 \brief This property holds whether this item is selected.
211
212 By default this property is \c false.
213 \sa selectable
214*/
215/*! \qmlproperty bool QtQuick::Accessible::selectable
216 \brief This property holds whether this item can be selected.
217
218 By default this property is \c false.
219 \sa selected
220*/
221/*! \qmlproperty bool QtQuick::Accessible::pressed
222 \brief This property holds whether this item is pressed (for example a button during a mouse click).
223
224 By default this property is \c false.
225*/
226/*! \qmlproperty bool QtQuick::Accessible::checkStateMixed
227 \brief This property holds whether this item is in the partially checked state.
228
229 By default this property is \c false.
230 \sa checked, checkable
231*/
232/*! \qmlproperty bool QtQuick::Accessible::defaultButton
233 \brief This property holds whether this item is the default button of a dialog.
234
235 By default this property is \c false.
236*/
237/*! \qmlproperty bool QtQuick::Accessible::passwordEdit
238 \brief This property holds whether this item is a password text edit.
239
240 By default this property is \c false.
241*/
242/*! \qmlproperty bool QtQuick::Accessible::selectableText
243 \brief This property holds whether this item contains selectable text.
244
245 By default this property is \c false.
246*/
247/*! \qmlproperty Item QtQuick::Accessible::labelledBy
248 \brief This property holds the item that is used as a label for this item.
249
250 Setting this property automatically sets up the labelFor relation of the other object.
251
252 By default this property is \c undefined.
253
254 \since 6.10
255 */
256/*! \qmlproperty Item QtQuick::Accessible::labelFor
257 \brief This property holds the item that this item is a label for.
258
259 Setting this property automatically sets up the labelledBy relation of the other object.
260
261 By default this property is \c undefined.
262
263 \since 6.10
264 */
265
266/*!
267 \qmlsignal QtQuick::Accessible::pressAction()
268
269 This signal is emitted when a press action is received from an assistive tool such as a screen-reader.
270*/
271/*!
272 \qmlsignal QtQuick::Accessible::toggleAction()
273
274 This signal is emitted when a toggle action is received from an assistive tool such as a screen-reader.
275*/
276/*!
277 \qmlsignal QtQuick::Accessible::increaseAction()
278
279 This signal is emitted when a increase action is received from an assistive tool such as a screen-reader.
280*/
281/*!
282 \qmlsignal QtQuick::Accessible::decreaseAction()
283
284 This signal is emitted when a decrease action is received from an assistive tool such as a screen-reader.
285*/
286/*!
287 \qmlsignal QtQuick::Accessible::showOnScreenAction()
288
289 This signal is emitted when an assistive tool such as a screen-reader detects a partially visible element
290 and requests it to be fully visible.
291*/
292/*!
293 \qmlsignal QtQuick::Accessible::scrollUpAction()
294
295 This signal is emitted when a scroll up action is received from an assistive tool such as a screen-reader.
296*/
297/*!
298 \qmlsignal QtQuick::Accessible::scrollDownAction()
299
300 This signal is emitted when a scroll down action is received from an assistive tool such as a screen-reader.
301*/
302/*!
303 \qmlsignal QtQuick::Accessible::scrollLeftAction()
304
305 This signal is emitted when a scroll left action is received from an assistive tool such as a screen-reader.
306*/
307/*!
308 \qmlsignal QtQuick::Accessible::scrollRightAction()
309
310 This signal is emitted when a scroll right action is received from an assistive tool such as a screen-reader.
311*/
312/*!
313 \qmlsignal QtQuick::Accessible::previousPageAction()
314
315 This signal is emitted when a previous page action is received from an assistive tool such as a screen-reader.
316*/
317/*!
318 \qmlsignal QtQuick::Accessible::nextPageAction()
319
320 This signal is emitted when a next page action is received from an assistive tool such as a screen-reader.
321*/
322
323QMetaMethod QQuickAccessibleAttached::sigPress;
324QMetaMethod QQuickAccessibleAttached::sigToggle;
325QMetaMethod QQuickAccessibleAttached::sigIncrease;
326QMetaMethod QQuickAccessibleAttached::sigDecrease;
327QMetaMethod QQuickAccessibleAttached::sigShowOnScreen;
328QMetaMethod QQuickAccessibleAttached::sigScrollUp;
329QMetaMethod QQuickAccessibleAttached::sigScrollDown;
330QMetaMethod QQuickAccessibleAttached::sigScrollLeft;
331QMetaMethod QQuickAccessibleAttached::sigScrollRight;
332QMetaMethod QQuickAccessibleAttached::sigPreviousPage;
333QMetaMethod QQuickAccessibleAttached::sigNextPage;
334
335QQuickAccessibleAttached::QQuickAccessibleAttached(QObject *parent)
336 : QObject(parent), m_role(QAccessible::NoRole)
337{
338 Q_ASSERT(parent);
339 // Enable accessibility for items with accessible content. This also
340 // enables accessibility for the ancestors of such items.
341 auto item = qobject_cast<QQuickItem *>(parent);
342 if (item) {
343 item->d_func()->setAccessible();
344 } else {
345 const QLatin1StringView className(QQmlData::ensurePropertyCache(parent)->firstCppMetaObject()->className());
346 if (className != QLatin1StringView("QQuickAction")) {
347 qmlWarning(parent) << "Accessible attached property must be attached to an object deriving from Item or Action";
348 return;
349 }
350 }
351 QAccessibleEvent ev(parent, QAccessible::ObjectCreated);
352 QAccessible::updateAccessibility(&ev);
353
354 if (const QMetaObject *pmo = parent->metaObject()) {
355 auto connectPropertyChangeSignal = [parent, pmo, this](
356 const char *propertyName, const char *signalName, int slotIndex)
357 {
358 // basically does this:
359 // if the parent has the property \a propertyName with the associated \a signalName:
360 // connect(parent, signalName, this, slotIndex)
361
362 // Note that we explicitly want to only connect to standard property/signal naming
363 // convention: "value" & "valueChanged"
364 // (e.g. avoid a compound property with e.g. a signal notifier named "updated()")
365 int idxProperty = pmo->indexOfProperty(propertyName);
366 if (idxProperty != -1) {
367 const QMetaProperty property = pmo->property(idxProperty);
368 const QMetaMethod signal = property.notifySignal();
369 if (signal.name() == signalName)
370 QMetaObject::connect(parent, signal.methodIndex(), this, slotIndex);
371 }
372 return;
373 };
374 const QMetaObject &smo = staticMetaObject;
375
376 QAccessibleInterface *iface = ev.accessibleInterface();
377 if (iface && iface->valueInterface()) {
378 static const int valueChangedIndex = smo.indexOfSlot("valueChanged()");
379 connectPropertyChangeSignal("value", "valueChanged", valueChangedIndex);
380 }
381
382 if (iface && iface->textInterface()) {
383 static const int cursorPositionChangedIndex =
384 smo.indexOfSlot("cursorPositionChanged()");
385 connectPropertyChangeSignal("cursorPosition", "cursorPositionChanged",
386 cursorPositionChangedIndex);
387 }
388 }
389
390 if (!sigPress.isValid()) {
391 sigPress = QMetaMethod::fromSignal(&QQuickAccessibleAttached::pressAction);
392 sigToggle = QMetaMethod::fromSignal(&QQuickAccessibleAttached::toggleAction);
393 sigIncrease = QMetaMethod::fromSignal(&QQuickAccessibleAttached::increaseAction);
394 sigDecrease = QMetaMethod::fromSignal(&QQuickAccessibleAttached::decreaseAction);
395 sigShowOnScreen = QMetaMethod::fromSignal(&QQuickAccessibleAttached::showOnScreenAction);
396 sigScrollUp = QMetaMethod::fromSignal(&QQuickAccessibleAttached::scrollUpAction);
397 sigScrollDown = QMetaMethod::fromSignal(&QQuickAccessibleAttached::scrollDownAction);
398 sigScrollLeft = QMetaMethod::fromSignal(&QQuickAccessibleAttached::scrollLeftAction);
399 sigScrollRight = QMetaMethod::fromSignal(&QQuickAccessibleAttached::scrollRightAction);
400 sigPreviousPage = QMetaMethod::fromSignal(&QQuickAccessibleAttached::previousPageAction);
401 sigNextPage= QMetaMethod::fromSignal(&QQuickAccessibleAttached::nextPageAction);
402 }
403}
404
405QQuickAccessibleAttached::~QQuickAccessibleAttached()
406{
407}
408
409void QQuickAccessibleAttached::setRole(QAccessible::Role role)
410{
411 if (role != m_role) {
412 m_role = role;
413 Q_EMIT roleChanged();
414 // There is no way to signify role changes at the moment.
415 // QAccessible::updateAccessibility(parent(), 0, QAccessible::);
416
417 switch (role) {
418 case QAccessible::CheckBox:
419 case QAccessible::RadioButton:
420 case QAccessible::Switch:
421 if (!m_stateExplicitlySet.focusable)
422 m_state.focusable = true;
423 if (!m_stateExplicitlySet.checkable)
424 m_state.checkable = true;
425 break;
426 case QAccessible::Button:
427 case QAccessible::MenuItem:
428 case QAccessible::PageTab:
429 case QAccessible::SpinBox:
430 case QAccessible::ComboBox:
431 case QAccessible::Terminal:
432 case QAccessible::ScrollBar:
433 if (!m_stateExplicitlySet.focusable)
434 m_state.focusable = true;
435 break;
436 case QAccessible::EditableText:
437 if (!m_stateExplicitlySet.editable)
438 m_state.editable = true;
439 if (!m_stateExplicitlySet.focusable)
440 m_state.focusable = true;
441 break;
442 case QAccessible::StaticText:
443 if (!m_stateExplicitlySet.readOnly)
444 m_state.readOnly = true;
445 if (!m_stateExplicitlySet.focusable)
446 m_state.focusable = true;
447 break;
448 default:
449 break;
450 }
451 }
452}
453
454bool QQuickAccessibleAttached::wasNameExplicitlySet() const
455{
456 return m_nameExplicitlySet;
457}
458
459// Allows types to attach an accessible name to an item as a convenience,
460// so long as the user hasn't done so themselves.
461void QQuickAccessibleAttached::setNameImplicitly(const QString &name)
462{
463 setName(name);
464 m_nameExplicitlySet = false;
465}
466
467void QQuickAccessibleAttached::setDescriptionImplicitly(const QString &desc)
468{
469 if (m_descriptionExplicitlySet)
470 return;
471 setDescription(desc);
472 m_descriptionExplicitlySet = false;
473}
474
475QQuickAccessibleAttached *QQuickAccessibleAttached::qmlAttachedProperties(QObject *obj)
476{
477 return new QQuickAccessibleAttached(obj);
478}
479
480bool QQuickAccessibleAttached::ignored() const
481{
482 auto item = qobject_cast<QQuickItem *>(parent());
483 return item ? !item->d_func()->isAccessible : false;
484}
485
486void QQuickAccessibleAttached::setIgnored(bool ignored)
487{
488 auto item = qobject_cast<QQuickItem *>(parent());
489 if (item && this->ignored() != ignored) {
490 item->d_func()->isAccessible = !ignored;
491 QAccessibleEvent event(item,
492 ignored ? QAccessible::ObjectDestroyed : QAccessible::ObjectCreated);
493 QAccessible::updateAccessibility(&event);
494 emit ignoredChanged();
495 }
496}
497
498bool QQuickAccessibleAttached::doAction(const QString &actionName)
499{
500 QMetaMethod *sig = nullptr;
501 if (actionName == QAccessibleActionInterface::pressAction())
502 sig = &sigPress;
503 else if (actionName == QAccessibleActionInterface::toggleAction())
504 sig = &sigToggle;
505 else if (actionName == QAccessibleActionInterface::increaseAction())
506 sig = &sigIncrease;
507 else if (actionName == QAccessibleActionInterface::decreaseAction())
508 sig = &sigDecrease;
509 else if (actionName == QAccessibleActionInterface::showOnScreenAction())
510 sig = &sigShowOnScreen;
511 else if (actionName == QAccessibleActionInterface::scrollUpAction())
512 sig = &sigScrollUp;
513 else if (actionName == QAccessibleActionInterface::scrollDownAction())
514 sig = &sigScrollDown;
515 else if (actionName == QAccessibleActionInterface::scrollLeftAction())
516 sig = &sigScrollLeft;
517 else if (actionName == QAccessibleActionInterface::scrollRightAction())
518 sig = &sigScrollRight;
519 else if (actionName == QAccessibleActionInterface::previousPageAction())
520 sig = &sigPreviousPage;
521 else if (actionName == QAccessibleActionInterface::nextPageAction())
522 sig = &sigNextPage;
523 if (sig && isSignalConnected(*sig)) {
524 bool ret = false;
525 if (m_proxying)
526 ret = sig->invoke(m_proxying);
527 if (!ret)
528 ret = sig->invoke(this);
529 return ret;
530 }
531 return false;
532}
533
534void QQuickAccessibleAttached::availableActions(QStringList *actions) const
535{
536 if (isSignalConnected(sigPress))
537 actions->append(QAccessibleActionInterface::pressAction());
538 if (isSignalConnected(sigToggle))
539 actions->append(QAccessibleActionInterface::toggleAction());
540 if (isSignalConnected(sigIncrease))
541 actions->append(QAccessibleActionInterface::increaseAction());
542 if (isSignalConnected(sigDecrease))
543 actions->append(QAccessibleActionInterface::decreaseAction());
544 if (isSignalConnected(sigShowOnScreen))
545 actions->append(QAccessibleActionInterface::showOnScreenAction());
546 if (isSignalConnected(sigScrollUp))
547 actions->append(QAccessibleActionInterface::scrollUpAction());
548 if (isSignalConnected(sigScrollDown))
549 actions->append(QAccessibleActionInterface::scrollDownAction());
550 if (isSignalConnected(sigScrollLeft))
551 actions->append(QAccessibleActionInterface::scrollLeftAction());
552 if (isSignalConnected(sigScrollRight))
553 actions->append(QAccessibleActionInterface::scrollRightAction());
554 if (isSignalConnected(sigPreviousPage))
555 actions->append(QAccessibleActionInterface::previousPageAction());
556 if (isSignalConnected(sigNextPage))
557 actions->append(QAccessibleActionInterface::nextPageAction());
558}
559
560QString QQuickAccessibleAttached::stripHtml(const QString &html)
561{
562#ifndef QT_NO_TEXTHTMLPARSER
563 QTextDocument doc;
564 doc.setHtml(html);
565 return doc.toPlainText();
566#else
567 return html;
568#endif
569}
570
571void QQuickAccessibleAttached::setProxying(QQuickAccessibleAttached *proxying)
572{
573 if (proxying == m_proxying)
574 return;
575
576 const QMetaObject &mo = staticMetaObject;
577 if (m_proxying) {
578 // We disconnect all signals from the proxy into this object
579 auto mo = m_proxying->metaObject();
580 auto propertyCache = QQmlData::ensurePropertyCache(m_proxying);
581 for (int signalIndex = propertyCache->signalOffset();
582 signalIndex < propertyCache->signalCount(); ++signalIndex) {
583 const QMetaMethod m = mo->method(propertyCache->signal(signalIndex)->coreIndex());
584 Q_ASSERT(m.methodType() == QMetaMethod::Signal);
585 if (m.methodType() != QMetaMethod::Signal)
586 continue;
587
588 disconnect(m_proxying, m, this, m);
589 }
590 }
591
592 m_proxying = proxying;
593
594 if (m_proxying) {
595 // We connect all signals from the proxy into this object
596 auto propertyCache = QQmlData::ensurePropertyCache(m_proxying);
597 auto mo = m_proxying->metaObject();
598 for (int signalIndex = propertyCache->signalOffset();
599 signalIndex < propertyCache->signalCount(); ++signalIndex) {
600 const QMetaMethod m = mo->method(propertyCache->signal(signalIndex)->coreIndex());
601 Q_ASSERT(m.methodType() == QMetaMethod::Signal);
602 connect(proxying, m, this, m);
603 }
604 }
605
606 // We check all properties
607 for (int prop = mo.propertyOffset(); prop < mo.propertyCount(); ++prop) {
608 const QMetaProperty p = mo.property(prop);
609 if (!p.hasNotifySignal()) {
610 continue;
611 }
612
613 const QMetaMethod signal = p.notifySignal();
614 if (signal.parameterCount() == 0)
615 signal.invoke(this);
616 else
617 signal.invoke(this, Q_ARG(bool, p.read(this).toBool()));
618 }
619}
620
621/*!
622 * \qmlmethod void QtQuick::Accessible::announce(string message, AnnouncementPoliteness politeness)
623 *
624 * \since 6.8
625 * Issues an announcement event with a \a message with politeness \a politeness.
626 *
627 * \sa QAccessibleAnnouncementEvent
628 */
629void QQuickAccessibleAttached::announce(const QString &message, QAccessible::AnnouncementPoliteness politeness)
630{
631 QAccessibleAnnouncementEvent event(parent(), message);
632 event.setPoliteness(politeness);
633 QAccessible::updateAccessibility(&event);
634}
635
636QQuickItem *QQuickAccessibleAttached::findRelation(QAccessible::Relation relation) const
637{
638 const auto it = std::find_if(m_relations.cbegin(), m_relations.cend(),
639 [relation](const auto &rel) {
640 return rel.second == relation;
641 });
642
643 return it != m_relations.cend() ? it->first : nullptr;
644}
645
646QT_END_NAMESPACE
647
648#include "moc_qquickaccessibleattached_p.cpp"
649
650#endif