diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-06-23 19:51:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-06-25 13:36:53 +0200 |
commit | 1942182a3d1817bc539229d7fda3af69f7e295b8 (patch) | |
tree | 1c7291efb486d4789c580671ef0ea2133251c92c /cui/source/inc/hlmailtp.hxx | |
parent | 2f00a7c61fff9c091f08b6aaa4f829cd34fb3745 (diff) |
weld HyperLink Dialog
Change-Id: Ic861b0a593505828a900fe2163125d6f5584a956
Reviewed-on: https://gerrit.libreoffice.org/74634
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/hlmailtp.hxx')
-rw-r--r-- | cui/source/inc/hlmailtp.hxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/cui/source/inc/hlmailtp.hxx b/cui/source/inc/hlmailtp.hxx index ebadf85f3b84..c137a3cf1cfa 100644 --- a/cui/source/inc/hlmailtp.hxx +++ b/cui/source/inc/hlmailtp.hxx @@ -30,14 +30,14 @@ class SvxHyperlinkMailTp : public SvxHyperlinkTabPageBase { private: - VclPtr<SvxHyperURLBox> m_pCbbReceiver; - VclPtr<PushButton> m_pBtAdrBook; - VclPtr<FixedText> m_pFtSubject; - VclPtr<Edit> m_pEdSubject; + std::unique_ptr<SvxHyperURLBox> m_xCbbReceiver; + std::unique_ptr<weld::Button> m_xBtAdrBook; + std::unique_ptr<weld::Label> m_xFtSubject; + std::unique_ptr<weld::Entry> m_xEdSubject; - DECL_STATIC_LINK(SvxHyperlinkMailTp, ClickAdrBookHdl_Impl, Button*, void); + DECL_STATIC_LINK(SvxHyperlinkMailTp, ClickAdrBookHdl_Impl, weld::Button&, void); ///< Button : Address book - DECL_LINK (ModifiedReceiverHdl_Impl, Edit&, void ); ///< Combobox "receiver" modified + DECL_LINK (ModifiedReceiverHdl_Impl, weld::ComboBox&, void ); ///< Combobox "receiver" modified void SetScheme(const OUString& rScheme); void RemoveImproperProtocol(const OUString& aProperScheme); @@ -51,11 +51,10 @@ protected: SvxLinkInsertMode& eMode ) override; public: - SvxHyperlinkMailTp ( vcl::Window *pParent, SvxHpLinkDlg* pDlg, const SfxItemSet* pItemSet); + SvxHyperlinkMailTp(weld::Container* pParent, SvxHpLinkDlg* pDlg, const SfxItemSet* pItemSet); virtual ~SvxHyperlinkMailTp() override; - virtual void dispose() override; - static VclPtr<IconChoicePage> Create( vcl::Window* pWindow, SvxHpLinkDlg* pDlg, const SfxItemSet* pItemSet ); + static std::unique_ptr<IconChoicePage> Create(weld::Container* pWindow, SvxHpLinkDlg* pDlg, const SfxItemSet* pItemSet); virtual void SetInitFocus() override; }; |