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

#include <cuigaldlg.hxx>

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

Public Member Functions

 SearchProgress (weld::Window *pParent, TPGalleryThemeProperties *pTabPage, INetURLObject aStartURL)
 
void LaunchThread ()
 
virtual ~SearchProgress () override
 
 DECL_LINK (CleanUpHdl, void *, void)
 
void SetFileType (const OUString &rType)
 
void SetDirectory (const INetURLObject &rURL)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (ClickCancelBtn, weld::Button &, void)
 

Private Attributes

INetURLObject startUrl_
 
TPGalleryThemePropertiesm_pTabPage
 
rtl::Reference< SearchThreadm_aSearchThread
 
std::unique_ptr< weld::Labelm_xFtSearchDir
 
std::unique_ptr< weld::Labelm_xFtSearchType
 
std::unique_ptr< weld::Buttonm_xBtnCancel
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 71 of file cuigaldlg.hxx.

Constructor & Destructor Documentation

◆ SearchProgress()

SearchProgress::SearchProgress ( weld::Window pParent,
TPGalleryThemeProperties pTabPage,
INetURLObject  aStartURL 
)

Definition at line 192 of file cuigaldlg.cxx.

References LINK, m_xBtnCancel, and m_xFtSearchType.

◆ ~SearchProgress()

SearchProgress::~SearchProgress ( )
overridevirtual

Definition at line 204 of file cuigaldlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

SearchProgress::DECL_LINK ( CleanUpHdl  ,
void *  ,
void   
)

◆ DECL_LINK() [2/2]

SearchProgress::DECL_LINK ( ClickCancelBtn  ,
weld::Button ,
void   
)
private

◆ LaunchThread()

void SearchProgress::LaunchThread ( )

Definition at line 222 of file cuigaldlg.cxx.

References m_aSearchThread, m_pTabPage, and startUrl_.

◆ SetDirectory()

void SearchProgress::SetDirectory ( const INetURLObject rURL)
inline

Definition at line 91 of file cuigaldlg.hxx.

References GetReducedString(), and m_xFtSearchDir.

Referenced by SearchThread::ImplSearch().

◆ SetFileType()

void SearchProgress::SetFileType ( const OUString &  rType)
inline

Definition at line 90 of file cuigaldlg.hxx.

References m_xFtSearchType.

Member Data Documentation

◆ m_aSearchThread

rtl::Reference< SearchThread > SearchProgress::m_aSearchThread
private

Definition at line 76 of file cuigaldlg.hxx.

Referenced by LaunchThread().

◆ m_pTabPage

TPGalleryThemeProperties* SearchProgress::m_pTabPage
private

Definition at line 75 of file cuigaldlg.hxx.

Referenced by LaunchThread().

◆ m_xBtnCancel

std::unique_ptr<weld::Button> SearchProgress::m_xBtnCancel
private

Definition at line 79 of file cuigaldlg.hxx.

Referenced by SearchProgress().

◆ m_xFtSearchDir

std::unique_ptr<weld::Label> SearchProgress::m_xFtSearchDir
private

Definition at line 77 of file cuigaldlg.hxx.

Referenced by SetDirectory().

◆ m_xFtSearchType

std::unique_ptr<weld::Label> SearchProgress::m_xFtSearchType
private

Definition at line 78 of file cuigaldlg.hxx.

Referenced by SearchProgress(), and SetFileType().

◆ startUrl_

INetURLObject SearchProgress::startUrl_
private

Definition at line 74 of file cuigaldlg.hxx.

Referenced by LaunchThread().


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