LibreOffice Module svtools (master) 1
Public Member Functions | Private Attributes | List of all members
SmbDetailsContainer Class Referencefinal

#include <ServerDetailsControls.hxx>

Inheritance diagram for SmbDetailsContainer:
[legend]
Collaboration diagram for SmbDetailsContainer:
[legend]

Public Member Functions

 SmbDetailsContainer (PlaceEditDialog *pDialog)
 
virtual INetURLObject getUrl () override
 
virtual bool setUrl (const INetURLObject &rUrl) override
 Try to split the URL in the controls of that container. More...
 
virtual void set_visible (bool bShow) override
 
- Public Member Functions inherited from DetailsContainer
 DetailsContainer (PlaceEditDialog *pDialog)
 
virtual ~DetailsContainer ()
 
void setChangeHdl (const Link< DetailsContainer *, void > &rLink)
 
virtual void set_visible (bool bShow)
 
virtual INetURLObject getUrl ()
 
virtual bool setUrl (const INetURLObject &rUrl)
 Try to split the URL in the controls of that container. More...
 
virtual void setUsername (const OUString &)
 
virtual void setPassword (const OUString &)
 
virtual bool enableUserCredentials ()
 

Private Attributes

OUString m_sHost
 

Additional Inherited Members

- Protected Member Functions inherited from DetailsContainer
void notifyChange ()
 
 DECL_LINK (ValueChangeHdl, weld::Entry &, void)
 
 DECL_STATIC_LINK (DetailsContainer, FormatPortHdl, weld::SpinButton &, void)
 
- Protected Attributes inherited from DetailsContainer
PlaceEditDialog * m_pDialog
 
Link< DetailsContainer *, void > m_aChangeHdl
 

Detailed Description

Definition at line 103 of file ServerDetailsControls.hxx.

Constructor & Destructor Documentation

◆ SmbDetailsContainer()

SmbDetailsContainer::SmbDetailsContainer ( PlaceEditDialog *  pDialog)

Definition at line 204 of file ServerDetailsControls.cxx.

References LINK, DetailsContainer::m_pDialog, and set_visible().

Member Function Documentation

◆ getUrl()

INetURLObject SmbDetailsContainer::getUrl ( )
overridevirtual

Reimplemented from DetailsContainer.

Definition at line 212 of file ServerDetailsControls.cxx.

References DetailsContainer::m_pDialog.

◆ set_visible()

void SmbDetailsContainer::set_visible ( bool  bShow)
overridevirtual

Reimplemented from DetailsContainer.

Definition at line 259 of file ServerDetailsControls.cxx.

References DetailsContainer::m_pDialog, and m_sHost.

Referenced by SmbDetailsContainer().

◆ setUrl()

bool SmbDetailsContainer::setUrl ( const INetURLObject rUrl)
overridevirtual

Try to split the URL in the controls of that container.

Parameters
sUrlthe URL to split
Returns
true if the split worked, false otherwise.

Reimplemented from DetailsContainer.

Definition at line 233 of file ServerDetailsControls.cxx.

References INetURLObject::GetHost(), INetURLObject::getName(), INetURLObject::GetProtocol(), INetURLObject::GetURLPath(), DetailsContainer::m_pDialog, m_sHost, and nPos.

Member Data Documentation

◆ m_sHost

OUString SmbDetailsContainer::m_sHost
private

Definition at line 106 of file ServerDetailsControls.hxx.

Referenced by set_visible(), and setUrl().


The documentation for this class was generated from the following files: