diff options
author | José Millán Soto <fid@gpul.org> | 2012-01-14 23:48:04 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-18 12:11:15 (GMT) |
commit | 3e4fa9abefc5e6ede2c47d22e6aca3f38183d4a0 (patch) | |
tree | 8bd3ef5f32435d163c4cc8dfdd685ccd9da048e1 /src/plugins/accessible/widgets/complexwidgets.h | |
parent | d558a2c85f61ad2c634531b06cfc75581e2e2e2b (diff) | |
download | Qt-3e4fa9abefc5e6ede2c47d22e6aca3f38183d4a0.zip Qt-3e4fa9abefc5e6ede2c47d22e6aca3f38183d4a0.tar.gz Qt-3e4fa9abefc5e6ede2c47d22e6aca3f38183d4a0.tar.bz2 |
Handle closable tabs in QAccessibleTabBar
Tab information was hidden by the closing buttons.
Closing is implented by using doAction and actionText methods, as it's not possible to
use QAccessibleActionInterface to send actions to child widgets in complex widgets.
Change-Id: I0f55d5084737fa13c81df402f5dd54f11e164f8a
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Diffstat (limited to 'src/plugins/accessible/widgets/complexwidgets.h')
-rw-r--r-- | src/plugins/accessible/widgets/complexwidgets.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/accessible/widgets/complexwidgets.h b/src/plugins/accessible/widgets/complexwidgets.h index 88aded5..14ad622 100644 --- a/src/plugins/accessible/widgets/complexwidgets.h +++ b/src/plugins/accessible/widgets/complexwidgets.h @@ -241,8 +241,12 @@ public: QString text(Text t, int child) const; Role role(int child) const; State state(int child) const; + int navigate(RelationFlag relation, int entry, + QAccessibleInterface **target) const; bool doAction(int action, int child, const QVariantList ¶ms); + QString actionText(int action, Text t, int child) const; + int userActionCount(int child) const; bool setSelected(int child, bool on, bool extend); QVector<int> selection() const; |