summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-08-10 16:07:40 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-08-14 08:45:45 +0200
commit98a5c264b79998b6ec83e3fb18c4c33a1512a7ca (patch)
treeb91d28b1d78e86ff15cf3e0edcdf83263cc83f23 /include/svtools
parentbd277973b2e3e467b665e30c0ba56ad372d3d233 (diff)
added password field in the Add service dialog
Change-Id: I1074a3a2980e939de3f578cb566bab1e0ed96aed
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/PlaceEditDialog.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx
index e492978af5bb..cfcfe67c4dc4 100644
--- a/include/svtools/PlaceEditDialog.hxx
+++ b/include/svtools/PlaceEditDialog.hxx
@@ -34,6 +34,8 @@ private:
std::shared_ptr< DetailsContainer > m_xCurrentDetails;
VclPtr<Edit> m_pEDUsername;
+ VclPtr<Edit> m_pEDPassword;
+ VclPtr<FixedText> m_pFTPasswordLabel;
VclPtr<OKButton> m_pBTOk;
VclPtr<CancelButton> m_pBTCancel;
@@ -67,6 +69,9 @@ public :
OUString GetServerName() { return m_pEDServerName->GetText(); }
OUString GetServerUrl();
+ OUString GetPassword() { return m_pEDPassword->GetText(); };
+
+ void ShowPasswordControl( bool bShow = true ) { m_pEDPassword->Show( bShow ); m_pFTPasswordLabel->Show( bShow ); }
private: