diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-10-01 09:55:19 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-10-02 15:05:13 +0200 |
commit | 570d99b7776ccbee031737a9c32c5c9af11649ed (patch) | |
tree | c937fca7accb45c9fa814c8cd2e59c490d059c81 /vcl/inc/qt5 | |
parent | a8b69bf89b4ae88b40d8fc2341a2d45decf4d1de (diff) |
Qt5AccessibleWidget: Implement QAccessibleActionInterface
shows available action and allows to execute them
Change-Id: I944e4eccaac7c458af77b471c1d6e10650b1e798
Reviewed-on: https://gerrit.libreoffice.org/61183
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'vcl/inc/qt5')
-rw-r--r-- | vcl/inc/qt5/Qt5AccessibleWidget.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vcl/inc/qt5/Qt5AccessibleWidget.hxx b/vcl/inc/qt5/Qt5AccessibleWidget.hxx index c77104931eb6..d1008f992ab9 100644 --- a/vcl/inc/qt5/Qt5AccessibleWidget.hxx +++ b/vcl/inc/qt5/Qt5AccessibleWidget.hxx @@ -27,8 +27,9 @@ class Qt5Frame; class Qt5Widget; -class VCLPLUG_QT5_PUBLIC Qt5AccessibleWidget : public QObject, public QAccessibleInterface -//public QAccessibleActionInterface +class VCLPLUG_QT5_PUBLIC Qt5AccessibleWidget : public QObject, + public QAccessibleInterface, + public QAccessibleActionInterface { Q_OBJECT @@ -61,9 +62,9 @@ public: void* interface_cast(QAccessible::InterfaceType t) override; // QAccessibleActionInterface - /* QStringList actionNames() const override; + QStringList actionNames() const override; void doAction(const QString& actionName) override; - QStringList keyBindingsForAction(const QString& actionName) const override; */ + QStringList keyBindingsForAction(const QString& actionName) const override; // Factory static QAccessibleInterface* customFactory(const QString& classname, QObject* object); |