LibreOffice Module svx (master) 1
|
#include <docrecovery.hxx>
Public Member Functions | |
SaveProgressDialog (weld::Window *pParent, RecoveryCore *pCore) | |
create all child controls of this dialog. More... | |
virtual | ~SaveProgressDialog () override |
virtual short | run () override |
start the emergency save operation. More... | |
virtual void | updateItems () override |
virtual void | stepNext (TURLInfo *pItem) override |
virtual void | end () override |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
virtual void | updateItems ()=0 |
virtual void | end ()=0 |
virtual void | stepNext (TURLInfo *pItem)=0 |
Private Attributes | |
RecoveryCore * | m_pCore |
std::unique_ptr< weld::ProgressBar > | m_xProgressBar |
css::uno::Reference< css::task::XStatusIndicator > | m_xProgress |
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 Member Functions inherited from svx::DocRecovery::IRecoveryUpdateListener | |
~IRecoveryUpdateListener () | |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 348 of file docrecovery.hxx.
svx::DocRecovery::SaveProgressDialog::SaveProgressDialog | ( | weld::Window * | pParent, |
RecoveryCore * | pCore | ||
) |
create all child controls of this dialog.
@descr The dialog isn't shown nor it starts any action by itself!
pParent | can point to a parent window. If it's set to 0, the defmodal-dialog-parent is used automatically. |
pCore | used to start emergency save. |
Definition at line 617 of file docrecovery.cxx.
References m_xProgress, and m_xProgressBar.
|
overridevirtual |
Definition at line 626 of file docrecovery.cxx.
References m_xProgress.
|
overridevirtual |
Implements svx::DocRecovery::IRecoveryUpdateListener.
Definition at line 659 of file docrecovery.cxx.
References DLG_RET_OK, and weld::GenericDialogController::m_xDialog.
|
overridevirtual |
start the emergency save operation.
Reimplemented from weld::DialogController.
Definition at line 633 of file docrecovery.cxx.
References svx::DocRecovery::RecoveryCore::doEmergencySave(), m_pCore, m_xProgress, svx::DocRecovery::RecoveryCore::setProgressHandler(), and svx::DocRecovery::RecoveryCore::setUpdateListener().
|
overridevirtual |
Implements svx::DocRecovery::IRecoveryUpdateListener.
Definition at line 649 of file docrecovery.cxx.
|
overridevirtual |
Implements svx::DocRecovery::IRecoveryUpdateListener.
Definition at line 645 of file docrecovery.cxx.
|
private |
Definition at line 354 of file docrecovery.hxx.
Referenced by run().
|
private |
Definition at line 359 of file docrecovery.hxx.
Referenced by run(), SaveProgressDialog(), and ~SaveProgressDialog().
|
private |
Definition at line 356 of file docrecovery.hxx.
Referenced by SaveProgressDialog().