From 4dbce627d3643babaf90a93c70b365ff08abfca6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 26 Apr 2018 12:40:15 +0100 Subject: weld SwEnvDlg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib92f790030ca6fbf64273cf45c710b2f698f45a4 Reviewed-on: https://gerrit.libreoffice.org/53569 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/sfx2/tabdlg.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/sfx2/tabdlg.hxx') diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index 4f99e12e5b71..d3fda57a3d32 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -232,6 +232,7 @@ protected: private: std::unique_ptr m_xOKBtn; std::unique_ptr m_xApplyBtn; + std::unique_ptr m_xUserBtn; std::unique_ptr m_xCancelBtn; std::unique_ptr m_xResetBtn; @@ -245,6 +246,7 @@ private: DECL_DLLPRIVATE_LINK(DeactivatePageHdl, const OString&, bool); DECL_DLLPRIVATE_LINK(OkHdl, weld::Button&, void); DECL_DLLPRIVATE_LINK(ResetHdl, weld::Button&, void); + DECL_DLLPRIVATE_LINK(UserHdl, weld::Button&, void); DECL_DLLPRIVATE_LINK(CancelHdl, weld::Button&, void); SAL_DLLPRIVATE void Init_Impl(bool bFmtFlag); @@ -283,6 +285,9 @@ public: void SetInputSet( const SfxItemSet* pInSet ); const SfxItemSet* GetOutputItemSet() const { return m_pOutSet.get(); } + const weld::Button* GetUserButton() const { return m_xUserBtn.get(); } + weld::Button* GetUserButton() { return m_xUserBtn.get(); } + short execute(); const SfxItemSet* GetExampleSet() const { return m_pExampleSet; } -- cgit