diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-06-01 11:18:26 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-06-09 17:49:16 +0200 |
commit | 2a28ebeef5ea3e2b01d836a7233d2316b765bf38 (patch) | |
tree | 2231192775cb5544b8335d92f8756aa9a6176073 /vcl/inc/iconview.hxx | |
parent | 2910ce0b43552cbd6415e5930953c660e41b1965 (diff) |
Accessibility for IconView
Change-Id: I65ca9d43f70a50e2e95aabfc3b8ba1b15f9ff8be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135226
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/inc/iconview.hxx')
-rw-r--r-- | vcl/inc/iconview.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcl/inc/iconview.hxx b/vcl/inc/iconview.hxx index 971a638cc6ef..c5ece6d4aeb1 100644 --- a/vcl/inc/iconview.hxx +++ b/vcl/inc/iconview.hxx @@ -36,11 +36,22 @@ public: void PaintEntry(SvTreeListEntry&, tools::Long nX, tools::Long nY, vcl::RenderContext& rRenderContext); + virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() override; + + virtual OUString GetEntryAccessibleDescription(SvTreeListEntry* pEntry) const override; + void SetEntryAccessibleDescriptionHdl(const Link<SvTreeListEntry*, OUString>& rLink) + { + maEntryAccessibleDescriptionHdl = rLink; + } + virtual FactoryFunction GetUITestFactory() const override; virtual void DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) override; protected: virtual void CalcEntryHeight(SvTreeListEntry const* pEntry) override; + +private: + Link<SvTreeListEntry*, OUString> maEntryAccessibleDescriptionHdl; }; #endif |