summaryrefslogtreecommitdiff
path: root/vcl/inc/salvtables.hxx
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-06-21 08:44:58 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-06-21 11:17:17 +0200
commitad3b33d01baaef1f1a950cd2c54d9649f0383446 (patch)
tree8d44d7cedef9d5e3b411006a742fea834046cc39 /vcl/inc/salvtables.hxx
parent0f165b7f2f03d806eb14ba7529223d31e30674a8 (diff)
tdf#161648 vcl a11y: Add weld::Toolbar::set_item_accessible_name
Add API to set the accessible name of toolbar items and implement it for the VCL, gtk3 and gtk4 implementations. This will be used in an upcoming commit to set a11y names for the border items in Calc's sidebar. Change-Id: I958390d8736da8f1281f91586cacbefb5975e229 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169320 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/inc/salvtables.hxx')
-rw-r--r--vcl/inc/salvtables.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/salvtables.hxx b/vcl/inc/salvtables.hxx
index 984baf4e61b8..47c692793001 100644
--- a/vcl/inc/salvtables.hxx
+++ b/vcl/inc/salvtables.hxx
@@ -1426,6 +1426,10 @@ public:
virtual void set_item_tooltip_text(const OUString& rIdent, const OUString& rTip) override;
+ virtual void set_item_accessible_name(int nIndex, const OUString& rName) override;
+
+ virtual void set_item_accessible_name(const OUString& rIdent, const OUString& rName) override;
+
virtual OUString get_item_tooltip_text(const OUString& rIdent) const override;
virtual vcl::ImageType get_icon_size() const override;