summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-03-10 14:13:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-03-11 09:59:53 +0100
commit96d0cf0d7bccfea0b9d867cf00a17c7a2409aa87 (patch)
treeabc95f9969c4c0e1434228096f1c088c2a4ec627 /include
parentbea1fe240010d4870d2fd3877ee07ba31d1dcda0 (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')
-rw-r--r--include/sfx2/dinfdlg.hxx53
-rw-r--r--include/svtools/imagemgr.hxx2
2 files changed, 27 insertions, 28 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();
diff --git a/include/svtools/imagemgr.hxx b/include/svtools/imagemgr.hxx
index a72566586eb8..45212829b5c6 100644
--- a/include/svtools/imagemgr.hxx
+++ b/include/svtools/imagemgr.hxx
@@ -118,7 +118,7 @@ private:
static OUString GetDescription_Impl( const INetURLObject& rObject, bool bDetectFolder );
public:
- SVT_DLLPUBLIC static OUString GetImageId( const INetURLObject& rURL );
+ SVT_DLLPUBLIC static OUString GetImageId( const INetURLObject& rURL, bool bBig = false );
SVT_DLLPUBLIC static Image GetImage( const INetURLObject& rURL, bool bBig = false );
SVT_DLLPUBLIC static OUString GetFileImageId( const INetURLObject& rURL );
SVT_DLLPUBLIC static Image GetFileImage( const INetURLObject& rURL );