summaryrefslogtreecommitdiff
path: root/vcl/inc/jsdialog/jsdialogbuilder.hxx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-03-07 13:09:20 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2023-03-21 09:35:30 +0000
commit103e656e4f9e073354dc6a683889fd3fb922ecf2 (patch)
tree7e5ff4a383c412d55e50f276d18b375cb7b147e8 /vcl/inc/jsdialog/jsdialogbuilder.hxx
parent660f73385562314e01abb4cef9d443b0c0f42b06 (diff)
jsdialog: don't send full updates on tab change
All tabs are now sent with the first full message. So client can switch between tabs by showing another tabpage content. We don't need to send structure again. Change-Id: I0f3dfc8be4816fba5813a83b41722407631edb73 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148421 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149189 Tested-by: Jenkins
Diffstat (limited to 'vcl/inc/jsdialog/jsdialogbuilder.hxx')
-rw-r--r--vcl/inc/jsdialog/jsdialogbuilder.hxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/vcl/inc/jsdialog/jsdialogbuilder.hxx b/vcl/inc/jsdialog/jsdialogbuilder.hxx
index 0864c3d7ab8a..19458a938c02 100644
--- a/vcl/inc/jsdialog/jsdialogbuilder.hxx
+++ b/vcl/inc/jsdialog/jsdialogbuilder.hxx
@@ -575,34 +575,12 @@ public:
class JSNotebook final : public JSWidget<SalInstanceNotebook, ::TabControl>
{
- Link<const OString&, bool> m_aLeavePageOverridenHdl;
- Link<const OString&, void> m_aEnterPageOverridenHdl;
-
- DECL_LINK(LeaveHdl, const OString&, bool);
- DECL_LINK(EnterHdl, const OString&, bool);
-
public:
JSNotebook(JSDialogSender* pSender, ::TabControl* pControl, SalInstanceBuilder* pBuilder,
bool bTakeOwnership);
- virtual void set_current_page(int nPage) override;
-
- virtual void set_current_page(const OString& rIdent) override;
-
virtual void remove_page(const OString& rIdent) override;
-
virtual void insert_page(const OString& rIdent, const OUString& rLabel, int nPos) override;
-
- void connect_leave_page(const Link<const OString&, bool>& rLink)
- {
- m_aLeavePageHdl = LINK(this, JSNotebook, LeaveHdl);
- m_aLeavePageOverridenHdl = rLink;
- }
- void connect_enter_page(const Link<const OString&, void>& rLink)
- {
- m_aLeavePageHdl = LINK(this, JSNotebook, EnterHdl);
- m_aEnterPageOverridenHdl = rLink;
- }
};
class JSSpinButton final : public JSWidget<SalInstanceSpinButton, ::FormattedField>