LibreOffice Module fpicker (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SvtFolderPicker Class Reference

#include <OfficeFolderPicker.hxx>

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

Public Member Functions

 SvtFolderPicker ()
 
virtual ~SvtFolderPicker () override
 
virtual void SAL_CALL setDisplayDirectory (const OUString &aDirectory) override
 
virtual OUString SAL_CALL getDisplayDirectory () override
 
virtual OUString SAL_CALL getDirectory () override
 
virtual void SAL_CALL setDescription (const OUString &aDescription) override
 
virtual void SAL_CALL cancel () override
 
virtual void SAL_CALL setTitle (const OUString &_rTitle) override
 
virtual sal_Int16 SAL_CALL execute () override
 
virtual void SAL_CALL setDialogTitle (const OUString &_rTitle) override
 
virtual void SAL_CALL startExecuteModal (const css::uno::Reference< css::ui::dialogs::XDialogClosedListener > &xListener) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &sServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Protected Member Functions

virtual std::shared_ptr< SvtFileDialog_BaseimplCreateDialog (weld::Window *pParent) override
 
virtual sal_Int16 implExecutePicker () override
 

Private Member Functions

void prepareExecute ()
 
void DialogClosedHdl (sal_Int32 nResult)
 

Private Attributes

css::uno::Reference< css::ui::dialogs::XDialogClosedListener > m_xListener
 

Detailed Description

Definition at line 38 of file OfficeFolderPicker.hxx.

Constructor & Destructor Documentation

SvtFolderPicker::SvtFolderPicker ( )

Definition at line 35 of file OfficeFolderPicker.cxx.

SvtFolderPicker::~SvtFolderPicker ( )
overridevirtual

Definition at line 39 of file OfficeFolderPicker.cxx.

Member Function Documentation

void SvtFolderPicker::cancel ( )
overridevirtual

Definition at line 145 of file OfficeFolderPicker.cxx.

void SvtFolderPicker::DialogClosedHdl ( sal_Int32  nResult)
private

Definition at line 99 of file OfficeFolderPicker.cxx.

References aEvent, and m_xListener.

Referenced by startExecuteModal().

sal_Int16 SAL_CALL SvtFolderPicker::execute ( )
overridevirtual

Definition at line 48 of file OfficeFolderPicker.cxx.

OUString SAL_CALL SvtFolderPicker::getDirectory ( )
overridevirtual

Definition at line 128 of file OfficeFolderPicker.cxx.

OUString SAL_CALL SvtFolderPicker::getDisplayDirectory ( )
overridevirtual

Definition at line 115 of file OfficeFolderPicker.cxx.

OUString SAL_CALL SvtFolderPicker::getImplementationName ( )
overridevirtual

Definition at line 151 of file OfficeFolderPicker.cxx.

Sequence< OUString > SAL_CALL SvtFolderPicker::getSupportedServiceNames ( )
overridevirtual

Definition at line 163 of file OfficeFolderPicker.cxx.

std::shared_ptr< SvtFileDialog_Base > SvtFolderPicker::implCreateDialog ( weld::Window pParent)
overrideprotectedvirtual

Definition at line 72 of file OfficeFolderPicker.cxx.

References PathDialog.

sal_Int16 SvtFolderPicker::implExecutePicker ( )
overrideprotectedvirtual

Definition at line 77 of file OfficeFolderPicker.cxx.

References prepareExecute().

void SvtFolderPicker::prepareExecute ( )
private

Definition at line 86 of file OfficeFolderPicker.cxx.

References INetURLObject::GetMainURL(), and INetURLObject::NONE.

Referenced by implExecutePicker(), and startExecuteModal().

void SAL_CALL SvtFolderPicker::setDescription ( const OUString &  aDescription)
overridevirtual

Definition at line 141 of file OfficeFolderPicker.cxx.

void SAL_CALL SvtFolderPicker::setDialogTitle ( const OUString &  _rTitle)
overridevirtual

Definition at line 53 of file OfficeFolderPicker.cxx.

References setTitle().

void SAL_CALL SvtFolderPicker::setDisplayDirectory ( const OUString &  aDirectory)
overridevirtual

Definition at line 110 of file OfficeFolderPicker.cxx.

void SAL_CALL SvtFolderPicker::setTitle ( const OUString &  _rTitle)
overridevirtual

Definition at line 43 of file OfficeFolderPicker.cxx.

Referenced by setDialogTitle().

void SAL_CALL SvtFolderPicker::startExecuteModal ( const css::uno::Reference< css::ui::dialogs::XDialogClosedListener > &  xListener)
overridevirtual
sal_Bool SAL_CALL SvtFolderPicker::supportsService ( const OUString &  sServiceName)
overridevirtual

Definition at line 157 of file OfficeFolderPicker.cxx.

References cppu::supportsService().

Member Data Documentation

css::uno::Reference< css::ui::dialogs::XDialogClosedListener > SvtFolderPicker::m_xListener
private

Definition at line 42 of file OfficeFolderPicker.hxx.

Referenced by DialogClosedHdl(), and startExecuteModal().


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