summaryrefslogtreecommitdiff
path: root/cui/source/inc/hldoctp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/inc/hldoctp.hxx')
-rw-r--r--cui/source/inc/hldoctp.hxx34
1 files changed, 15 insertions, 19 deletions
diff --git a/cui/source/inc/hldoctp.hxx b/cui/source/inc/hldoctp.hxx
index 25a6e0d23d5d..53f302204bf0 100644
--- a/cui/source/inc/hldoctp.hxx
+++ b/cui/source/inc/hldoctp.hxx
@@ -26,28 +26,26 @@
|* Tabpage : Hyperlink - Document
|*
\************************************************************************/
-
class SvxHyperlinkDocTp final : public SvxHyperlinkTabPageBase
{
private:
- VclPtr<SvxHyperURLBox> m_pCbbPath;
- VclPtr<PushButton> m_pBtFileopen;
-
- VclPtr<Edit> m_pEdTarget;
- VclPtr<FixedText> m_pFtFullURL;
- VclPtr<PushButton> m_pBtBrowse;
+ std::unique_ptr<SvxHyperURLBox> m_xCbbPath;
+ std::unique_ptr<weld::Button> m_xBtFileopen;
+ std::unique_ptr<weld::Entry> m_xEdTarget;
+ std::unique_ptr<weld::Label> m_xFtFullURL;
+ std::unique_ptr<weld::Button> m_xBtBrowse;
OUString maStrURL;
- bool mbMarkWndOpen;
+ bool m_bMarkWndOpen;
- DECL_LINK (ClickFileopenHdl_Impl, Button*, void );
- DECL_LINK (ClickTargetHdl_Impl , Button*, void );
+ DECL_LINK (ClickFileopenHdl_Impl, weld::Button&, void );
+ DECL_LINK (ClickTargetHdl_Impl, weld::Button&, void );
- DECL_LINK (ModifiedPathHdl_Impl , Edit&, void ); ///< Contents of combobox "Path" modified
- DECL_LINK (ModifiedTargetHdl_Impl, Edit&, void ); ///< Contents of editfield "Target" modified
+ DECL_LINK (ModifiedPathHdl_Impl, weld::ComboBox&, void ); ///< Contents of combobox "Path" modified
+ DECL_LINK (ModifiedTargetHdl_Impl, weld::Entry&, void ); ///< Contents of editfield "Target" modified
- DECL_LINK( LostFocusPathHdl_Impl, Control&, void ); ///< Combobox "path" lost its focus
+ DECL_LINK( LostFocusPathHdl_Impl, weld::Widget&, void ); ///< Combobox "path" lost its focus
DECL_LINK( TimeoutHdl_Impl, Timer *, void ); ///< Handler for timer -timeout
@@ -58,23 +56,21 @@ private:
void GetCurentItemData ( OUString& rStrURL, OUString& aStrName,
OUString& aStrIntName, OUString& aStrFrame,
SvxLinkInsertMode& eMode ) override;
- virtual bool ShouldOpenMarkWnd () override {return mbMarkWndOpen;}
- virtual void SetMarkWndShouldOpen (bool bOpen) override {mbMarkWndOpen=bOpen;}
+ virtual bool ShouldOpenMarkWnd () override {return m_bMarkWndOpen;}
+ virtual void SetMarkWndShouldOpen (bool bOpen) override {m_bMarkWndOpen=bOpen;}
OUString GetCurrentURL ();
public:
- SvxHyperlinkDocTp ( vcl::Window *pParent, SvxHpLinkDlg* pDlg, const SfxItemSet* pItemSet);
+ SvxHyperlinkDocTp(weld::Container* pParent, SvxHpLinkDlg* pDlg, const SfxItemSet* pItemSet);
virtual ~SvxHyperlinkDocTp() 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 SetMarkStr ( const OUString& aStrMark ) override;
virtual void SetInitFocus() override;
};
-
#endif // INCLUDED_CUI_SOURCE_INC_HLDOCTP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */