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

#include <foldertree.hxx>

Collaboration diagram for FolderTree:
[legend]

Public Member Functions

 FolderTree (std::unique_ptr< weld::TreeView > xTreeView, weld::Window *pTopLevel)
 
void clear ()
 
void connect_changed (const Link< weld::TreeView &, void > &rLink)
 
void InsertRootEntry (const OUString &rId, const OUString &rRootLabel)
 
void FillTreeEntry (const weld::TreeIter &rEntry)
 
void FillTreeEntry (const OUString &rUrl, const ::std::vector< std::pair< OUString, OUString > > &rFolders)
 
void SetTreePath (OUString const &sUrl)
 
void SetDenyList (const css::uno::Sequence< OUString > &rDenyList)
 

Private Member Functions

 DECL_LINK (RequestingChildrenHdl, const weld::TreeIter &, bool)
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xTreeView
 
std::unique_ptr< weld::TreeIterm_xScratchIter
 
weld::Windowm_pTopLevel
 
Reference< XCommandEnvironment > m_xEnv
 
::osl::Mutex m_aMutex
 
Sequence< OUString > m_aDenyList
 
OUString m_sLastUpdatedDir
 

Detailed Description

Definition at line 22 of file foldertree.hxx.

Constructor & Destructor Documentation

FolderTree::FolderTree ( std::unique_ptr< weld::TreeView xTreeView,
weld::Window pTopLevel 
)

Definition at line 21 of file foldertree.cxx.

References weld::Window::GetXWindow(), LINK, m_xEnv, m_xTreeView, and m_xTreeView.

Member Function Documentation

void FolderTree::clear ( )
inline

Definition at line 39 of file foldertree.hxx.

void FolderTree::connect_changed ( const Link< weld::TreeView &, void > &  rLink)
inline

Definition at line 41 of file foldertree.hxx.

FolderTree::DECL_LINK ( RequestingChildrenHdl  ,
const weld::TreeIter ,
bool   
)
private
void FolderTree::FillTreeEntry ( const weld::TreeIter rEntry)

Definition at line 54 of file foldertree.cxx.

References i, m_aDenyList, m_aMutex, m_sLastUpdatedDir, m_xEnv, m_xScratchIter, m_xTreeView, and void().

void FolderTree::FillTreeEntry ( const OUString &  rUrl,
const ::std::vector< std::pair< OUString, OUString > > &  rFolders 
)

Definition at line 99 of file foldertree.cxx.

References m_sLastUpdatedDir, m_xScratchIter, m_xTreeView, SetTreePath(), and void().

void FolderTree::InsertRootEntry ( const OUString &  rId,
const OUString &  rRootLabel 
)

Definition at line 46 of file foldertree.cxx.

References m_xScratchIter, and m_xTreeView.

void FolderTree::SetDenyList ( const css::uno::Sequence< OUString > &  rDenyList)

Definition at line 172 of file foldertree.cxx.

References m_aDenyList.

void FolderTree::SetTreePath ( OUString const &  sUrl)

Member Data Documentation

Sequence< OUString > FolderTree::m_aDenyList
private

Definition at line 30 of file foldertree.hxx.

Referenced by FillTreeEntry(), and SetDenyList().

::osl::Mutex FolderTree::m_aMutex
private

Definition at line 29 of file foldertree.hxx.

Referenced by FillTreeEntry().

weld::Window* FolderTree::m_pTopLevel
private

Definition at line 27 of file foldertree.hxx.

OUString FolderTree::m_sLastUpdatedDir
private

Definition at line 32 of file foldertree.hxx.

Referenced by FillTreeEntry().

Reference< XCommandEnvironment > FolderTree::m_xEnv
private

Definition at line 28 of file foldertree.hxx.

Referenced by FillTreeEntry(), and FolderTree().

std::unique_ptr<weld::TreeIter> FolderTree::m_xScratchIter
private

Definition at line 26 of file foldertree.hxx.

Referenced by FillTreeEntry(), and InsertRootEntry().

std::unique_ptr<weld::TreeView> FolderTree::m_xTreeView
private

Definition at line 25 of file foldertree.hxx.

Referenced by FillTreeEntry(), FolderTree(), InsertRootEntry(), and SetTreePath().


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