Remove deprecated QAccessible::updateAccessibility overload
Change-Id: Ib953e584685804b0f34ec6b305e2a9a6b8062c07 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>bb10
parent
6f34c0c650
commit
6028e16b86
|
|
@ -1,6 +1,6 @@
|
|||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Copyright (C) 2020 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the QtGui module of the Qt Toolkit.
|
||||
|
|
@ -875,15 +875,6 @@ void QAccessible::updateAccessibility(QAccessibleEvent *event)
|
|||
pfAccessibility->notifyAccessibilityUpdate(event);
|
||||
}
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 0)
|
||||
/*!
|
||||
\obsolete
|
||||
\fn void QAccessible::updateAccessibility(QObject *object, int child, Event reason);
|
||||
|
||||
\brief Use QAccessible::updateAccessibility(QAccessibleEvent*) instead.
|
||||
*/
|
||||
#endif
|
||||
|
||||
/*!
|
||||
\internal
|
||||
\brief getBoundaries is a helper function to find the accessible text boundaries for QTextCursor based documents.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Copyright (C) 2020 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the QtGui module of the Qt Toolkit.
|
||||
|
|
@ -418,10 +418,6 @@ public:
|
|||
static Id registerAccessibleInterface(QAccessibleInterface *iface);
|
||||
static void deleteAccessibleInterface(Id uniqueId);
|
||||
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 0)
|
||||
QT_DEPRECATED static inline void updateAccessibility(QObject *object, int child, Event reason);
|
||||
#endif
|
||||
static void updateAccessibility(QAccessibleEvent *event);
|
||||
|
||||
static bool isActive();
|
||||
|
|
@ -981,17 +977,6 @@ Q_GUI_EXPORT QDebug operator<<(QDebug d, const QAccessibleInterface *iface);
|
|||
Q_GUI_EXPORT QDebug operator<<(QDebug d, const QAccessibleEvent &ev);
|
||||
#endif
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 0)
|
||||
inline void QAccessible::updateAccessibility(QObject *object, int child, Event reason)
|
||||
{
|
||||
Q_ASSERT(object);
|
||||
|
||||
QAccessibleEvent ev(object, reason);
|
||||
ev.setChild(child);
|
||||
updateAccessibility(&ev);
|
||||
}
|
||||
#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QACCESSIBLE_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue