Remove QAccessibleInterface::navigate()
authorJan-Arve Saether <jan-arve.saether@nokia.com>
Thu, 16 Feb 2012 12:07:24 +0000 (13:07 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 17 Feb 2012 03:29:35 +0000 (04:29 +0100)
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>
src/plugins/accessible/quick/qaccessiblequickitem.cpp
src/plugins/accessible/quick/qaccessiblequickitem.h
src/plugins/accessible/quick/qaccessiblequickview.cpp
src/plugins/accessible/quick/qaccessiblequickview.h

index 6e88886..806a0f5 100644 (file)
@@ -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();
index c67573d..a283f85 100644 (file)
@@ -63,7 +63,6 @@ public:
     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;
 
index 802a947..05f0b8e 100644 (file)
@@ -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
index d72c1b7..66c8a52 100644 (file)
@@ -63,7 +63,6 @@ public:
     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;