summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-08-12 11:05:17 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-08-14 08:45:50 +0200
commit87cf343f909bd3034239eb10d1eb88a10994ab15 (patch)
treed8548975265b8fe914c593d6735af65bd94797ca /include
parenta38e2ff72079a392a0f1c419ee9cfce472dca6e1 (diff)
added 'Remember password' checkbox
Change-Id: I4231acd92d263ca772a1aa7b3e178c5681ee86e0
Diffstat (limited to 'include')
-rw-r--r--include/svtools/PlaceEditDialog.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx
index 79ec3487a28e..c8cdabe4cffc 100644
--- a/include/svtools/PlaceEditDialog.hxx
+++ b/include/svtools/PlaceEditDialog.hxx
@@ -34,6 +34,7 @@ private:
std::shared_ptr< DetailsContainer > m_xCurrentDetails;
VclPtr<Edit> m_pEDUsername;
+ VclPtr<CheckBox> m_pCBPassword;
VclPtr<Edit> m_pEDPassword;
VclPtr<FixedText> m_pFTPasswordLabel;
VclPtr<OKButton> m_pBTOk;
@@ -72,7 +73,7 @@ public :
OUString GetPassword() { return m_pEDPassword->GetText(); };
OUString GetUser() { return m_pEDUsername->GetText(); };
- void ShowPasswordControl( bool bShow = true ) { m_pEDPassword->Show( bShow ); m_pFTPasswordLabel->Show( bShow ); }
+ void ShowPasswordControl( bool bShow = true );
private:
@@ -85,6 +86,7 @@ private:
DECL_LINK ( SelectTypeHdl, void * );
DECL_LINK ( EditLabelHdl, void * );
DECL_LINK ( EditUsernameHdl, void * );
+ DECL_LINK ( ToggledPassHdl, CheckBox * pCheckBox );
};