Remove all references to QAccessible::Self
authorJan-Arve Saether <jan-arve.saether@nokia.com>
Wed, 18 Jan 2012 13:42:13 +0000 (14:42 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 19 Jan 2012 07:05:05 +0000 (08:05 +0100)
commitec550e28d2b8fa1c6a4e4103f33df1b339862b28
treea496e85b730f67e74e66cca87e74ec823e3610b9
parentf4d2acdb8ed83fbec7c7236f91dc4af517c09563
Remove all references to QAccessible::Self

navigate() to Self does not make any sense (its basically a clone).
It seems that its not that useful to return Self from relationTo(),
since it was only one place where relationTo() was called where it
checked for the Self flag. This was in the windows bridge, and we
could easily work around that.
If it really turns out that Self is useful, we can always add that
enum value back later.

Change-Id: I9ebb60da059a843de5e6fcab9e815b919afc6f2a
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
src/gui/accessible/qaccessible.h
src/gui/accessible/qaccessibleobject.cpp
src/plugins/platforms/windows/qwindowsaccessibility.cpp
src/widgets/accessible/qaccessiblewidget.cpp