QAccessibleToolButton fixes.
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>
Mon, 26 Sep 2011 12:16:19 +0000 (14:16 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Sep 2011 01:17:19 +0000 (03:17 +0200)
commiteee2de6aa12ff602c9303f43d864372ca2d5cc17
treefabb680729bb122a6dd65d501b3b4a9eb51c8fee
parent8655e4bef48af783326f9e8a766a7d9d4044e4ba
QAccessibleToolButton fixes.

ToolButtons now consist of only one button.
They implement the action interface so that the menu
can be opened programmatically and the button clicked/checked.
The menu shows in the hierarchy as child of the button.

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