diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-20 20:29:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-26 09:54:18 +0200 |
commit | a37e559ed123789f6bc8f7972242d6461ce692ab (patch) | |
tree | 7c6304b4541335b2bb706efda58b882132fe3819 /cui/source/inc/numpages.hxx | |
parent | b3f249c1351642be6f2774230ff80a6d20bd1401 (diff) |
disinherit OWizardPage and SfxTabPage from vcl TabPage
Now that there's no need to support weld/unwelded mixes of
pages in dialog any more.
inherit from a BuilderPage which contains a Builder and
Toplevel container
BuilderPage Activate and Deactivate replace TabPage ActivatePage and
DeactivatePage, allowing disambiguation wrt SfxTabPage ActivatePage and
DeactivatePage.
Change-Id: I5706e50fd92f712a25328ee9791e054bb9ad9812
Reviewed-on: https://gerrit.libreoffice.org/79317
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/numpages.hxx')
-rw-r--r-- | cui/source/inc/numpages.hxx | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index 391094109005..fffe71e4dee4 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -57,9 +57,6 @@ typedef std::vector<std::unique_ptr<SvxNumSettings_Impl> > SvxNumSettingsArr_Imp class SvxSingleNumPickTabPage final : public SfxTabPage { - using TabPage::ActivatePage; - using TabPage::DeactivatePage; - SvxNumSettingsArr_Impl aNumSettingsArr; std::unique_ptr<SvxNumRule> pActNum; std::unique_ptr<SvxNumRule> pSaveNum; @@ -78,9 +75,8 @@ class SvxSingleNumPickTabPage final : public SfxTabPage public: SvxSingleNumPickTabPage(TabPageParent pParent, const SfxItemSet& rSet); virtual ~SvxSingleNumPickTabPage() override; - virtual void dispose() override; - static VclPtr<SfxTabPage> Create( TabPageParent pParent, + static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet); virtual void ActivatePage(const SfxItemSet& rSet) override; @@ -91,9 +87,6 @@ public: class SvxBulletPickTabPage final : public SfxTabPage { - using TabPage::ActivatePage; - using TabPage::DeactivatePage; - std::unique_ptr<SvxNumRule> pActNum; std::unique_ptr<SvxNumRule> pSaveNum; sal_uInt16 nActNumLvl; @@ -111,9 +104,8 @@ class SvxBulletPickTabPage final : public SfxTabPage public: SvxBulletPickTabPage(TabPageParent pParent, const SfxItemSet& rSet); virtual ~SvxBulletPickTabPage() override; - virtual void dispose() override; - static VclPtr<SfxTabPage> Create( TabPageParent pParent, + static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet); virtual void ActivatePage(const SfxItemSet& rSet) override; @@ -129,9 +121,6 @@ public: /// TabPage for complete numeration class SvxNumPickTabPage final : public SfxTabPage { - using TabPage::ActivatePage; - using TabPage::DeactivatePage; - OUString sNumCharFmtName; OUString sBulletCharFormatName; @@ -153,9 +142,8 @@ class SvxNumPickTabPage final : public SfxTabPage public: SvxNumPickTabPage(TabPageParent pParent, const SfxItemSet& rSet); virtual ~SvxNumPickTabPage() override; - virtual void dispose() override; - static VclPtr<SfxTabPage> Create( TabPageParent pParent, + static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet); virtual void ActivatePage(const SfxItemSet& rSet) override; @@ -171,9 +159,6 @@ public: class SvxBitmapPickTabPage final : public SfxTabPage { - using TabPage::ActivatePage; - using TabPage::DeactivatePage; - std::vector<OUString> aGrfNames; std::unique_ptr<SvxNumRule> pActNum; @@ -196,9 +181,8 @@ class SvxBitmapPickTabPage final : public SfxTabPage public: SvxBitmapPickTabPage(TabPageParent pParent, const SfxItemSet& rSet); virtual ~SvxBitmapPickTabPage() override; - virtual void dispose() override; - static VclPtr<SfxTabPage> Create(TabPageParent pParent, + static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet); virtual void ActivatePage(const SfxItemSet& rSet) override; @@ -209,9 +193,6 @@ public: class SvxNumOptionsTabPage : public SfxTabPage { - using TabPage::ActivatePage; - using TabPage::DeactivatePage; - OUString m_sNumCharFmtName; OUString m_sBulletCharFormatName; @@ -300,9 +281,8 @@ class SvxNumOptionsTabPage : public SfxTabPage public: SvxNumOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet); virtual ~SvxNumOptionsTabPage() override; - virtual void dispose() override; - static VclPtr<SfxTabPage> Create( TabPageParent pParent, + static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet); virtual void ActivatePage(const SfxItemSet& rSet) override; @@ -324,9 +304,6 @@ public: class SvxNumPositionTabPage : public SfxTabPage { - using TabPage::ActivatePage; - using TabPage::DeactivatePage; - std::unique_ptr<SvxNumRule> pActNum; std::unique_ptr<SvxNumRule> pSaveNum; @@ -389,14 +366,13 @@ class SvxNumPositionTabPage : public SfxTabPage public: SvxNumPositionTabPage(TabPageParent pParent, const SfxItemSet& rSet); virtual ~SvxNumPositionTabPage() override; - virtual void dispose() override; virtual void ActivatePage(const SfxItemSet& rSet) override; virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override; virtual bool FillItemSet( SfxItemSet* rSet ) override; virtual void Reset( const SfxItemSet* rSet ) override; - static VclPtr<SfxTabPage> Create( TabPageParent pParent, + static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet); void SetMetric(FieldUnit eSet); |