Add a function to get all relations of an accessible.
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>
Wed, 24 Aug 2011 14:16:14 +0000 (16:16 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Sep 2011 23:53:07 +0000 (01:53 +0200)
commit92be18bfd0cfff5af49f70d786db4d76980d710a
treeddce8b0f609faa605b581b45b77275bdd91c2db7
parent86765166b9d219f6af8c69c41794ce2dfd224a63
Add a function to get all relations of an accessible.

Add a default implementation for RelationTo.
Usually this should be empty and it is pointless to return
the parent-child releations in this function.
Instead we will have proper parent-child functions and also
remove this functionallity from navigate.

Having default implementations for these removes the
necessity to reimplement them to return Unrelated in
many places.

Change-Id: I13b7ad3256533681e5a0548ae15da98ca0d16b94
Reviewed-on: http://codereview.qt-project.org/4785
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
src/widgets/accessible/qaccessible.cpp
src/widgets/accessible/qaccessible.h