diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-01 18:14:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-01 22:18:32 +0200 |
commit | a9f8f86387e7ef7eb5dd17528075e510a1b084a5 (patch) | |
tree | a2b2468e2dc7c1f477154699adde3ba089526c8c /dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx | |
parent | ded2045789001479609249cf8afe2fc6828046f8 (diff) |
weld OMySQLIntroPageSetup
Change-Id: I8378860bfc5cb087b5c04a73e99965afdee4c23f
Reviewed-on: https://gerrit.libreoffice.org/76822
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx')
-rw-r--r-- | dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx index 099af83ba54a..ffa1198858bb 100644 --- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx +++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx @@ -200,11 +200,10 @@ namespace dbaui VIA_NATIVE }; - OMySQLIntroPageSetup( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs); + OMySQLIntroPageSetup(TabPageParent pParent, const SfxItemSet& rCoreAttrs); virtual ~OMySQLIntroPageSetup() override; - virtual void dispose() override; - static VclPtr<OMySQLIntroPageSetup> CreateMySQLIntroTabPage( vcl::Window* _pParent, const SfxItemSet& _rAttrSet ); + static VclPtr<OMySQLIntroPageSetup> CreateMySQLIntroTabPage(TabPageParent pParent, const SfxItemSet& rAttrSet); ConnectionType getMySQLMode(); void SetClickHdl( const Link<OMySQLIntroPageSetup *, void>& rLink ) { maClickHdl = rLink; } @@ -215,13 +214,12 @@ namespace dbaui virtual void fillWindows(std::vector< std::unique_ptr<ISaveValueWrapper> >& _rControlList) override; private: - VclPtr<RadioButton> m_pODBCDatabase; - VclPtr<RadioButton> m_pJDBCDatabase; - VclPtr<RadioButton> m_pNATIVEDatabase; + std::unique_ptr<weld::RadioButton> m_xODBCDatabase; + std::unique_ptr<weld::RadioButton> m_xJDBCDatabase; + std::unique_ptr<weld::RadioButton> m_xNATIVEDatabase; Link<OMySQLIntroPageSetup *, void> maClickHdl; - DECL_LINK(OnSetupModeSelected, RadioButton&, void); - + DECL_LINK(OnSetupModeSelected, weld::ToggleButton&, void); }; // OAuthentificationPageSetup |