summaryrefslogtreecommitdiff
path: root/cui/source/options/optgdlg.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-03-12 09:03:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-03-12 17:44:48 +0100
commit4c4ef728ca9bbc7726aa1dc309d09559287fce4c (patch)
treed8e8d74da61c753681bcee920a79f912ab7d6a1c /cui/source/options/optgdlg.hxx
parent95a538180fd21c52b752cbef46acf2aa2b842ab8 (diff)
weld OfaMiscTabPage
Change-Id: I6a363142945fc0b77e6c84649d32ffc27a5e2f04 Reviewed-on: https://gerrit.libreoffice.org/69082 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/options/optgdlg.hxx')
-rw-r--r--cui/source/options/optgdlg.hxx39
1 files changed, 17 insertions, 22 deletions
diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx
index 08d5634a889e..52cf72ef3b6e 100644
--- a/cui/source/options/optgdlg.hxx
+++ b/cui/source/options/optgdlg.hxx
@@ -40,35 +40,30 @@ class OfaMiscTabPage : public SfxTabPage
{
using TabPage::DeactivatePage;
private:
- VclPtr<CheckBox> m_pPopUpNoHelpCB;
- VclPtr<CheckBox> m_pExtHelpCB;
-
- VclPtr<FixedImage> m_pFileDlgROImage;
- VclPtr<CheckBox> m_pFileDlgCB;
-
- VclPtr<CheckBox> m_pPrintDlgCB;
-
- VclPtr<CheckBox> m_pDocStatusCB;
-
- VclPtr<VclContainer> m_pYearFrame;
- VclPtr<NumericField> m_pYearValueField;
- VclPtr<FixedText> m_pToYearFT;
-
OUString m_aStrDateInfo;
- VclPtr<CheckBox> m_pCollectUsageInfo;
-
- VclPtr<VclContainer> m_pQuickStarterFrame;
- VclPtr<CheckBox> m_pQuickLaunchCB;
-
- DECL_LINK( TwoFigureHdl, Edit&, void );
+ std::unique_ptr<weld::CheckButton> m_xExtHelpCB;
+ std::unique_ptr<weld::CheckButton> m_xPopUpNoHelpCB;
+ std::unique_ptr<weld::Widget> m_xFileDlgFrame;
+ std::unique_ptr<weld::Widget> m_xPrintDlgFrame;
+ std::unique_ptr<weld::Widget> m_xFileDlgROImage;
+ std::unique_ptr<weld::CheckButton> m_xFileDlgCB;
+ std::unique_ptr<weld::CheckButton> m_xPrintDlgCB;
+ std::unique_ptr<weld::CheckButton> m_xDocStatusCB;
+ std::unique_ptr<weld::Widget> m_xYearFrame;
+ std::unique_ptr<weld::SpinButton> m_xYearValueField;
+ std::unique_ptr<weld::Label> m_xToYearFT;
+ std::unique_ptr<weld::CheckButton> m_xCollectUsageInfo;
+ std::unique_ptr<weld::Widget> m_xQuickStarterFrame;
+ std::unique_ptr<weld::CheckButton> m_xQuickLaunchCB;
+
+ DECL_LINK(TwoFigureHdl, weld::SpinButton&, void);
protected:
virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
public:
- OfaMiscTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
+ OfaMiscTabPage(TabPageParent pParent, const SfxItemSet& rSet);
virtual ~OfaMiscTabPage() override;
- virtual void dispose() override;
static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet );