summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/ConnectionPage.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/ConnectionPage.hxx')
-rw-r--r--dbaccess/source/ui/dlg/ConnectionPage.hxx27
1 files changed, 14 insertions, 13 deletions
diff --git a/dbaccess/source/ui/dlg/ConnectionPage.hxx b/dbaccess/source/ui/dlg/ConnectionPage.hxx
index 5e1c84fb88a1..2b4626d8fa08 100644
--- a/dbaccess/source/ui/dlg/ConnectionPage.hxx
+++ b/dbaccess/source/ui/dlg/ConnectionPage.hxx
@@ -36,26 +36,28 @@ namespace dbaui
{
protected:
// user authentification
- FixedText* m_pFL2;
- FixedText* m_pUserNameLabel;
- Edit* m_pUserName;
- CheckBox* m_pPasswordRequired;
+ VclPtr<FixedText> m_pFL2;
+ VclPtr<FixedText> m_pUserNameLabel;
+ VclPtr<Edit> m_pUserName;
+ VclPtr<CheckBox> m_pPasswordRequired;
// jdbc driver
- FixedText* m_pFL3;
- FixedText* m_pJavaDriverLabel;
- Edit* m_pJavaDriver;
- PushButton* m_pTestJavaDriver;
+ VclPtr<FixedText> m_pFL3;
+ VclPtr<FixedText> m_pJavaDriverLabel;
+ VclPtr<Edit> m_pJavaDriver;
+ VclPtr<PushButton> m_pTestJavaDriver;
// connection test
- PushButton* m_pTestConnection;
+ VclPtr<PushButton> m_pTestConnection;
// called when the test connection button was clicked
- DECL_LINK(OnTestJavaClickHdl,PushButton*);
- DECL_LINK(OnEditModified,Edit*);
+ DECL_LINK(OnTestJavaClickHdl, PushButton*);
+ DECL_LINK(OnEditModified, Edit*);
public:
- static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* _rAttrSet );
+ virtual ~OConnectionTabPage();
+ virtual void dispose() SAL_OVERRIDE;
+ static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* _rAttrSet );
virtual bool FillItemSet (SfxItemSet* _rCoreAttrs) SAL_OVERRIDE;
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) SAL_OVERRIDE;
@@ -70,7 +72,6 @@ namespace dbaui
private:
OConnectionTabPage(vcl::Window* pParent, const SfxItemSet& _rCoreAttrs);
// nControlFlags is a combination of the CBTP_xxx-constants
- virtual ~OConnectionTabPage();
private:
/** enables the test connection button, if allowed