summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-06-01 11:18:26 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-06-09 17:49:16 +0200
commit2a28ebeef5ea3e2b01d836a7233d2316b765bf38 (patch)
tree2231192775cb5544b8335d92f8756aa9a6176073 /include
parent2910ce0b43552cbd6415e5930953c660e41b1965 (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 'include')
-rw-r--r--include/vcl/accessiblefactory.hxx5
-rw-r--r--include/vcl/toolkit/treelistbox.hxx2
-rw-r--r--include/vcl/weld.hxx5
3 files changed, 11 insertions, 1 deletions
diff --git a/include/vcl/accessiblefactory.hxx b/include/vcl/accessiblefactory.hxx
index f0482392fb65..a13e4dabc135 100644
--- a/include/vcl/accessiblefactory.hxx
+++ b/include/vcl/accessiblefactory.hxx
@@ -82,6 +82,11 @@ namespace vcl
SvTreeListBox& _rListBox,
const css::uno::Reference< css::accessibility::XAccessible >& _xParent
) const = 0;
+ virtual css::uno::Reference< css::accessibility::XAccessible >
+ createAccessibleIconView(
+ SvTreeListBox& _rListBox,
+ const css::uno::Reference< css::accessibility::XAccessible >& _xParent
+ ) const = 0;
virtual vcl::IAccessibleBrowseBox*
createAccessibleBrowseBox(
const css::uno::Reference< css::accessibility::XAccessible >& _rxParent,
diff --git a/include/vcl/toolkit/treelistbox.hxx b/include/vcl/toolkit/treelistbox.hxx
index 7e21dfda21e7..216ffd55d83c 100644
--- a/include/vcl/toolkit/treelistbox.hxx
+++ b/include/vcl/toolkit/treelistbox.hxx
@@ -456,6 +456,8 @@ public:
/** Fills the StateSet of one entry. */
void FillAccessibleEntryStateSet( SvTreeListEntry* pEntry, ::utl::AccessibleStateSetHelper& rStateSet ) const;
+ virtual OUString GetEntryAccessibleDescription(SvTreeListEntry* pEntry) const;
+
/** Calculate and return the bounding rectangle of an entry.
@param pEntry
The entry.
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 135378ec540f..83e68002ce6c 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -1348,7 +1348,10 @@ protected:
void signal_selection_changed() { m_aSelectionChangeHdl.Call(*this); }
bool signal_item_activated() { return m_aItemActivatedHdl.Call(*this); }
- OUString signal_query_tooltip(const TreeIter& rIter) { return m_aQueryTooltipHdl.Call(rIter); }
+ OUString signal_query_tooltip(const TreeIter& rIter) const
+ {
+ return m_aQueryTooltipHdl.Call(rIter);
+ }
public:
virtual int get_item_width() const = 0;