diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-10-28 15:20:41 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-29 06:55:02 +0000 |
commit | 361a9929a7bfc09d1497923a27be5606b9138dd7 (patch) | |
tree | 6d844ac2da2720f81ea844526b813f71aa792a2c /src/templates/qquicktoolbar_p.h | |
parent | dac9c3f46650ef69a32f09280f3e78f9bba0f77b (diff) |
Added QQuickControl::accessibleRole() and etc
* m_accessibleRole was removed
* also applied to QQuickLabel, QQuickTextArea and QQuickTextField
Change-Id: I4b487f32cccfba0e16b3dba7e39882e8cd7ea616
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/templates/qquicktoolbar_p.h')
-rw-r--r-- | src/templates/qquicktoolbar_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/templates/qquicktoolbar_p.h b/src/templates/qquicktoolbar_p.h index d45106ee..065f1f71 100644 --- a/src/templates/qquicktoolbar_p.h +++ b/src/templates/qquicktoolbar_p.h @@ -58,6 +58,11 @@ class Q_LABSTEMPLATES_EXPORT QQuickToolBar : public QQuickFrame public: explicit QQuickToolBar(QQuickItem *parent = Q_NULLPTR); + +protected: +#ifndef QT_NO_ACCESSIBILITY + QAccessible::Role accessibleRole() const Q_DECL_OVERRIDE; +#endif }; Q_DECLARE_TYPEINFO(QQuickToolBar, Q_COMPLEX_TYPE); |