Commit 297cdf59 authored by Jan-Arve Saether's avatar Jan-Arve Saether Committed by Qt by Nokia
Browse files

Remove QAccessibleInterface::navigate()


Hierarchical navigation has been moved to parent() and child(),
relationships have been moved to relations()

Change-Id: I4313eb3a6ed8b4812a347bb27b4d62f4f62ee9d5
Reviewed-by: default avatarFrederik Gladhorn <frederik.gladhorn@nokia.com>
parent c79f36c5
No related merge requests found
Showing with 0 additions and 19 deletions
...@@ -118,15 +118,6 @@ QAccessibleInterface *QAccessibleQuickItem::child(int index) const ...@@ -118,15 +118,6 @@ QAccessibleInterface *QAccessibleQuickItem::child(int index) const
return QAccessible::queryAccessibleInterface(child); return QAccessible::queryAccessibleInterface(child);
} }
int QAccessibleQuickItem::navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface **target) const
{
Q_UNUSED(rel);
Q_UNUSED(entry);
Q_UNUSED(target);
*target = 0;
return -1;
}
int QAccessibleQuickItem::indexOfChild(const QAccessibleInterface *iface) const int QAccessibleQuickItem::indexOfChild(const QAccessibleInterface *iface) const
{ {
QList<QQuickItem*> kids = childItems(); QList<QQuickItem*> kids = childItems();
......
...@@ -63,7 +63,6 @@ public: ...@@ -63,7 +63,6 @@ public:
QAccessibleInterface *parent() const; QAccessibleInterface *parent() const;
QAccessibleInterface *child(int index) const; QAccessibleInterface *child(int index) const;
int childCount() const; int childCount() const;
int navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface **target) const;
int indexOfChild(const QAccessibleInterface *iface) const; int indexOfChild(const QAccessibleInterface *iface) const;
QList<QQuickItem *> childItems() const; QList<QQuickItem *> childItems() const;
......
...@@ -91,14 +91,6 @@ QRect QAccessibleQuickView::rect() const ...@@ -91,14 +91,6 @@ QRect QAccessibleQuickView::rect() const
return QRect(view()->x(), view()->y(), view()->width(), view()->height()); return QRect(view()->x(), view()->y(), view()->width(), view()->height());
} }
int QAccessibleQuickView::navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface **target) const
{
Q_UNUSED(rel);
Q_UNUSED(entry);
Q_UNUSED(target);
return -1;
}
QString QAccessibleQuickView::text(QAccessible::Text text) const QString QAccessibleQuickView::text(QAccessible::Text text) const
{ {
#ifdef Q_ACCESSIBLE_QUICK_ITEM_ENABLE_DEBUG_DESCRIPTION #ifdef Q_ACCESSIBLE_QUICK_ITEM_ENABLE_DEBUG_DESCRIPTION
......
...@@ -63,7 +63,6 @@ public: ...@@ -63,7 +63,6 @@ public:
QRect rect() const; QRect rect() const;
int childCount() const; int childCount() const;
int navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface **target) const;
int indexOfChild(const QAccessibleInterface *iface) const; int indexOfChild(const QAccessibleInterface *iface) const;
QString text(QAccessible::Text text) const; QString text(QAccessible::Text text) const;
QAccessibleInterface *childAt(int x, int y) const; QAccessibleInterface *childAt(int x, int y) const;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment