summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-12-09 06:28:34 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2020-12-28 14:32:13 +0100
commitd7f3e68f849d11f6e02019b4a788982cae71d37b (patch)
treeaba0ad754bdf73a495e84a2530959cd7f87f77ef /include/vcl
parent1a7ca9b41362068e5c19317b8e63ad0343960974 (diff)
jsdialog: handle value change for spinfields
Change-Id: Ie9ef1017b959f5ef42abe6de4ac18e077d1ceb1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107446 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108397 Tested-by: Jenkins
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/jsdialog/executor.hxx5
-rw-r--r--include/vcl/weld.hxx2
2 files changed, 7 insertions, 0 deletions
diff --git a/include/vcl/jsdialog/executor.hxx b/include/vcl/jsdialog/executor.hxx
index 038b86b30f64..1e2a0806e3e9 100644
--- a/include/vcl/jsdialog/executor.hxx
+++ b/include/vcl/jsdialog/executor.hxx
@@ -40,6 +40,11 @@ public:
{
rDrawingArea.click(rPos);
}
+
+ static void trigger_value_changed(weld::SpinButton& rSpinButton)
+ {
+ rSpinButton.signal_value_changed();
+ }
};
namespace jsdialog
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index fd9fb9260587..648c1746b15e 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -1589,6 +1589,8 @@ public:
class VCL_DLLPUBLIC SpinButton : virtual public Entry
{
+ friend class ::LOKTrigger;
+
protected:
Link<SpinButton&, void> m_aValueChangedHdl;
Link<SpinButton&, void> m_aOutputHdl;