diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-03 15:20:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-04 09:53:31 +0100 |
commit | 4d902a4bca0824ded4da1b4407a2b89d517d9388 (patch) | |
tree | 230089828695800e908a712147a84e7e87265c27 /cui/source/inc/autocdlg.hxx | |
parent | 1bfebbf2505fe0135c390bc011258c60f3abfd35 (diff) |
weld OfaSmartTagOptionsTabPage
Change-Id: I34b6c654e65fa827e8efc8fd6ba97dc73d15df17
Reviewed-on: https://gerrit.libreoffice.org/64472
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc/autocdlg.hxx')
-rw-r--r-- | cui/source/inc/autocdlg.hxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index 0f85612dc1f7..21ef480794ef 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -421,9 +421,9 @@ class OfaSmartTagOptionsTabPage : public SfxTabPage private: // controls - VclPtr<CheckBox> m_pMainCB; - VclPtr<SvxCheckListBox> m_pSmartTagTypesLB; - VclPtr<PushButton> m_pPropertiesPB; + std::unique_ptr<weld::CheckButton> m_xMainCB; + std::unique_ptr<weld::TreeView> m_xSmartTagTypesLB; + std::unique_ptr<weld::Button> m_xPropertiesPB; /** Inserts items into m_aSmartTagTypesLB @@ -441,27 +441,26 @@ private: Enables/disables all controls in the tab page (except from the check box. */ - DECL_LINK(CheckHdl, CheckBox&, void); + DECL_LINK(CheckHdl, weld::ToggleButton&, void); /** Handler for the push button Calls the displayPropertyPage function of the smart tag recognizer associated with the currently selected smart tag type. */ - DECL_LINK(ClickHdl, Button*, void); + DECL_LINK(ClickHdl, weld::Button&, void); /** Handler for the list box Enables/disables the properties push button if selection in the smart tag types list box changes. */ - DECL_LINK(SelectHdl, SvTreeListBox*, void); + DECL_LINK(SelectHdl, weld::TreeView&, void); public: /// construction via Create() - OfaSmartTagOptionsTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); + OfaSmartTagOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet); virtual ~OfaSmartTagOptionsTabPage() override; - virtual void dispose() override; static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet); |