The whole file is already ifdef'ed out.
Change-Id: I0456fcb8bd1440787aa5a16ca4c0c0234aea594c
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
// Enable accessibility for items with accessible content. This also
// enables accessibility for the ancestors of souch items.
item->d_func()->setAccessibleFlagAndListener();
-#ifndef QT_NO_ACCESSIBILITY
QAccessibleEvent ev(item, QAccessible::ObjectCreated);
QAccessible::updateAccessibility(&ev);
-#endif
}
QQuickAccessibleAttached::~QQuickAccessibleAttached()
if (name != m_name) {
m_name = name;
emit nameChanged();
-#ifndef QT_NO_ACCESSIBILITY
QAccessibleEvent ev(parent(), QAccessible::NameChanged);
QAccessible::updateAccessibility(&ev);
-#endif
}
}
if (m_description != description) {
m_description = description;
emit descriptionChanged();
-#ifndef QT_NO_ACCESSIBILITY
QAccessibleEvent ev(parent(), QAccessible::DescriptionChanged);
QAccessible::updateAccessibility(&ev);
-#endif
}
}