diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-10 14:13:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-11 09:59:53 +0100 |
commit | 96d0cf0d7bccfea0b9d867cf00a17c7a2409aa87 (patch) | |
tree | abc95f9969c4c0e1434228096f1c088c2a4ec627 /include/sfx2 | |
parent | bea1fe240010d4870d2fd3877ee07ba31d1dcda0 (diff) |
weld SfxDocumentPage
Change-Id: I99f342ad1c0620147ce23b4670323056d7ccc508
Reviewed-on: https://gerrit.libreoffice.org/69008
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/dinfdlg.hxx | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index 72ba726c58be..ee1d81c9c1cb 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -171,50 +171,49 @@ public: class SfxDocumentPage : public SfxTabPage { private: - VclPtr<FixedImage> m_pBmp; - VclPtr<SelectableFixedText> m_pNameED; - VclPtr<PushButton> m_pChangePassBtn; + OUString m_aUnknownSize; + OUString m_aMultiSignedStr; - VclPtr<SelectableFixedText> m_pShowTypeFT; - VclPtr<SelectableFixedText> m_pFileValEd; - VclPtr<SelectableFixedText> m_pShowSizeFT; + bool bEnableUseUserData : 1, + bHandleDelete : 1; - VclPtr<SelectableFixedText> m_pCreateValFt; - VclPtr<SelectableFixedText> m_pChangeValFt; - VclPtr<SelectableFixedText> m_pSignedValFt; - VclPtr<PushButton> m_pSignatureBtn; - VclPtr<SelectableFixedText> m_pPrintValFt; - VclPtr<SelectableFixedText> m_pTimeLogValFt; - VclPtr<SelectableFixedText> m_pDocNoValFt; + std::unique_ptr<weld::Image> m_xBmp; + std::unique_ptr<weld::Label> m_xNameED; + std::unique_ptr<weld::Button> m_xChangePassBtn; - VclPtr<CheckBox> m_pUseUserDataCB; - VclPtr<PushButton> m_pDeleteBtn; - VclPtr<CheckBox> m_pUseThumbnailSaveCB; + std::unique_ptr<weld::Label> m_xShowTypeFT; + std::unique_ptr<weld::Label> m_xFileValEd; + std::unique_ptr<weld::Label> m_xShowSizeFT; - VclPtr<FixedText> m_pTemplFt; - VclPtr<SelectableFixedText> m_pTemplValFt; + std::unique_ptr<weld::Label> m_xCreateValFt; + std::unique_ptr<weld::Label> m_xChangeValFt; + std::unique_ptr<weld::Label> m_xSignedValFt; + std::unique_ptr<weld::Button> m_xSignatureBtn; + std::unique_ptr<weld::Label> m_xPrintValFt; + std::unique_ptr<weld::Label> m_xTimeLogValFt; + std::unique_ptr<weld::Label> m_xDocNoValFt; - OUString m_aUnknownSize; - OUString m_aMultiSignedStr; + std::unique_ptr<weld::CheckButton> m_xUseUserDataCB; + std::unique_ptr<weld::Button> m_xDeleteBtn; + std::unique_ptr<weld::CheckButton> m_xUseThumbnailSaveCB; - bool bEnableUseUserData : 1, - bHandleDelete : 1; + std::unique_ptr<weld::Label> m_xTemplFt; + std::unique_ptr<weld::Label> m_xTemplValFt; - DECL_LINK(DeleteHdl, Button*, void); - DECL_LINK(SignatureHdl, Button*, void); - DECL_LINK(ChangePassHdl, Button*, void); + DECL_LINK(DeleteHdl, weld::Button&, void); + DECL_LINK(SignatureHdl, weld::Button&, void); + DECL_LINK(ChangePassHdl, weld::Button&, void); void ImplUpdateSignatures(); void ImplCheckPasswordState(); protected: virtual ~SfxDocumentPage() override; - virtual void dispose() override; virtual bool FillItemSet( SfxItemSet* ) override; virtual void Reset( const SfxItemSet* ) override; public: - SfxDocumentPage( vcl::Window* pParent, const SfxItemSet& ); + SfxDocumentPage(TabPageParent pParent, const SfxItemSet&); static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* ); void EnableUseUserData(); |