summaryrefslogtreecommitdiff
path: root/src/gui/accessible/qaccessible.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-12 14:23:58 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-15 04:59:30 +0200
commit6028e16b8693c8c7403fd4e5341c52beb33e5613 (patch)
tree8313566548245e66c39fd669d8e6e4e14729c842 /src/gui/accessible/qaccessible.h
parent6f34c0c650d3309fdda4a3be5424c4082f1f531c (diff)
downloadqtbase-6028e16b8693c8c7403fd4e5341c52beb33e5613.tar.gz
Remove deprecated QAccessible::updateAccessibility overload
Change-Id: Ib953e584685804b0f34ec6b305e2a9a6b8062c07 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/gui/accessible/qaccessible.h')
-rw-r--r--src/gui/accessible/qaccessible.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/gui/accessible/qaccessible.h b/src/gui/accessible/qaccessible.h
index f7564a3076..bfe881a712 100644
--- a/src/gui/accessible/qaccessible.h
+++ b/src/gui/accessible/qaccessible.h
@@ -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