diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-02-08 16:58:44 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-03-04 15:42:33 +0100 |
commit | 325d349c04a3b1cd6d17990ac9255cc432a4e24b (patch) | |
tree | 3de4d93f77ebaf1fe6137ccdc6cfdcd202775643 /vcl/inc | |
parent | 008c2354075e1b5b63000f6a2da802971a2902e6 (diff) |
jsdialog: handle standard buttons like help
- dump response bindings
- execute help callback
Change-Id: Ib0696b4ba74a186a2b80d49f21a1442d1c520821
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110586
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111958
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/jsdialog/jsdialogbuilder.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/jsdialog/jsdialogbuilder.hxx b/vcl/inc/jsdialog/jsdialogbuilder.hxx index 462b1cfeb1ef..3a6e338a80c2 100644 --- a/vcl/inc/jsdialog/jsdialogbuilder.hxx +++ b/vcl/inc/jsdialog/jsdialogbuilder.hxx @@ -401,6 +401,8 @@ public: virtual void set_primary_text(const OUString& rText) override; virtual void set_secondary_text(const OUString& rText) override; + + virtual void response(int response) override; }; class JSCheckButton : public JSWidget<SalInstanceCheckButton, ::CheckBox> |