summaryrefslogtreecommitdiff
path: root/cui/source/options/personalization.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-30 15:02:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-30 17:19:14 +0200
commitaf20b49acb34694febf2a3ba79207b25a70a68cd (patch)
tree97f03316f9adfd1254bcf018ad5f6f8d1609e9cc /cui/source/options/personalization.hxx
parent1aa246a8e8c7d974ab0f7bdfa16cda36cb700e03 (diff)
weld SvxPersonalizationTabPage
Change-Id: I5240fc4237d8b471b2c23a8bc776cffa46a53285 Reviewed-on: https://gerrit.libreoffice.org/76607 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/personalization.hxx')
-rw-r--r--cui/source/options/personalization.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/cui/source/options/personalization.hxx b/cui/source/options/personalization.hxx
index 7930016f5d62..09fb7956003e 100644
--- a/cui/source/options/personalization.hxx
+++ b/cui/source/options/personalization.hxx
@@ -20,18 +20,17 @@ class SvxPersonalizationTabPage : public SfxTabPage
using SfxTabPage::DeactivatePage;
private:
- VclPtr<RadioButton> m_pNoPersona; ///< Just the default look, without any bitmap
- VclPtr<RadioButton> m_pDefaultPersona; ///< Use the built-in bitmap
- VclPtr<PushButton> m_vDefaultPersonaImages
+ std::unique_ptr<weld::RadioButton> m_xNoPersona; ///< Just the default look, without any bitmap
+ std::unique_ptr<weld::RadioButton> m_xDefaultPersona; ///< Use the built-in bitmap
+ std::unique_ptr<weld::Button> m_vDefaultPersonaImages
[MAX_DEFAULT_PERSONAS]; ///< Buttons to show the default persona images
OUString m_aPersonaSettings; ///< Header and footer images + color to be set in the settings.
std::vector<OUString> m_vDefaultPersonaSettings;
public:
- SvxPersonalizationTabPage(vcl::Window* pParent, const SfxItemSet& rSet);
+ SvxPersonalizationTabPage(TabPageParent pParent, const SfxItemSet& rSet);
virtual ~SvxPersonalizationTabPage() override;
- virtual void dispose() override;
static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rSet);
@@ -58,7 +57,7 @@ public:
private:
/// Handle the default Persona selection
- DECL_LINK(DefaultPersona, Button*, void);
+ DECL_LINK(DefaultPersona, weld::Button&, void);
};
#endif // INCLUDED_CUI_SOURCE_OPTIONS_PERSONALIZATION_HXX