From 708a8b7f1d869580741787e71a9248757bb1541e Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Mon, 2 Nov 2020 12:24:49 +0100 Subject: jsdialog: execute checkbox action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib19997f600404cc9555acbfaf87acac32f8aa5fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106562 Tested-by: Jenkins Reviewed-by: Szymon Kłos --- include/vcl/jsdialog/executor.hxx | 2 ++ include/vcl/weld.hxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/vcl/jsdialog/executor.hxx b/include/vcl/jsdialog/executor.hxx index e49190f31e5f..5dde733a3823 100644 --- a/include/vcl/jsdialog/executor.hxx +++ b/include/vcl/jsdialog/executor.hxx @@ -22,6 +22,8 @@ public: static void trigger_changed(weld::ComboBox& rComboBox) { rComboBox.signal_changed(); } + static void trigger_toggled(weld::ToggleButton& rButton) { rButton.signal_toggled(); } + static void trigger_row_activated(weld::TreeView& rTreeView) { rTreeView.signal_row_activated(); diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 04285ee63778..a4c07aeebede 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -1301,6 +1301,8 @@ public: class VCL_DLLPUBLIC ToggleButton : virtual public Button { + friend class ::LOKTrigger; + protected: Link m_aToggleHdl; TriState m_eSavedValue = TRISTATE_FALSE; -- cgit