Skip to content

Commit

Permalink
Remove QAccessibleInterface::navigate()
Browse files Browse the repository at this point in the history
Hierarchical navigation has been moved to parent() and child(),
relationships have been moved to relations()

Change-Id: I4313eb3a6ed8b4812a347bb27b4d62f4f62ee9d5
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
  • Loading branch information
Jan-Arve Saether authored and Qt by Nokia committed Feb 17, 2012
1 parent c79f36c commit 297cdf5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
9 changes: 0 additions & 9 deletions src/plugins/accessible/quick/qaccessiblequickitem.cpp
Expand Up @@ -118,15 +118,6 @@ QAccessibleInterface *QAccessibleQuickItem::child(int index) const
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
{
QList<QQuickItem*> kids = childItems();
Expand Down
1 change: 0 additions & 1 deletion src/plugins/accessible/quick/qaccessiblequickitem.h
Expand Up @@ -63,7 +63,6 @@ class QAccessibleQuickItem : public QDeclarativeAccessible
QAccessibleInterface *parent() const;
QAccessibleInterface *child(int index) const;
int childCount() const;
int navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface **target) const;
int indexOfChild(const QAccessibleInterface *iface) const;
QList<QQuickItem *> childItems() const;

Expand Down
8 changes: 0 additions & 8 deletions src/plugins/accessible/quick/qaccessiblequickview.cpp
Expand Up @@ -91,14 +91,6 @@ QRect QAccessibleQuickView::rect() const
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
{
#ifdef Q_ACCESSIBLE_QUICK_ITEM_ENABLE_DEBUG_DESCRIPTION
Expand Down
1 change: 0 additions & 1 deletion src/plugins/accessible/quick/qaccessiblequickview.h
Expand Up @@ -63,7 +63,6 @@ class QAccessibleQuickView : public QAccessibleObject
QRect rect() const;

int childCount() const;
int navigate(QAccessible::RelationFlag rel, int entry, QAccessibleInterface **target) const;
int indexOfChild(const QAccessibleInterface *iface) const;
QString text(QAccessible::Text text) const;
QAccessibleInterface *childAt(int x, int y) const;
Expand Down

0 comments on commit 297cdf5

Please sign in to comment.