LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | List of all members
svx::DocRecovery::SaveProgressDialog Class Referencefinal

#include <docrecovery.hxx>

Inheritance diagram for svx::DocRecovery::SaveProgressDialog:
Collaboration diagram for svx::DocRecovery::SaveProgressDialog:

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 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 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

std::unique_ptr< weld::ProgressBarm_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::Builderm_xBuilder
std::shared_ptr< weld::Dialogm_xDialog

Detailed Description

Definition at line 348 of file docrecovery.hxx.

Constructor & Destructor Documentation

◆ SaveProgressDialog()

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!

pParentcan point to a parent window. If it's set to 0, the defmodal-dialog-parent is used automatically.
pCoreused to start emergency save.

Definition at line 617 of file docrecovery.cxx.

References m_xProgress, and m_xProgressBar.

◆ ~SaveProgressDialog()

svx::DocRecovery::SaveProgressDialog::~SaveProgressDialog ( )

Definition at line 626 of file docrecovery.cxx.

References m_xProgress.

Member Function Documentation

◆ end()

void svx::DocRecovery::SaveProgressDialog::end ( )

◆ run()

short svx::DocRecovery::SaveProgressDialog::run ( )

◆ stepNext()

void svx::DocRecovery::SaveProgressDialog::stepNext ( TURLInfo pItem)

Implements svx::DocRecovery::IRecoveryUpdateListener.

Definition at line 649 of file docrecovery.cxx.

◆ updateItems()

void svx::DocRecovery::SaveProgressDialog::updateItems ( )

Implements svx::DocRecovery::IRecoveryUpdateListener.

Definition at line 645 of file docrecovery.cxx.

Member Data Documentation

◆ m_pCore

RecoveryCore* svx::DocRecovery::SaveProgressDialog::m_pCore

Definition at line 354 of file docrecovery.hxx.

Referenced by run().

◆ m_xProgress

css::uno::Reference< css::task::XStatusIndicator > svx::DocRecovery::SaveProgressDialog::m_xProgress

Definition at line 359 of file docrecovery.hxx.

Referenced by run(), SaveProgressDialog(), and ~SaveProgressDialog().

◆ m_xProgressBar

std::unique_ptr<weld::ProgressBar> svx::DocRecovery::SaveProgressDialog::m_xProgressBar

Definition at line 356 of file docrecovery.hxx.

Referenced by SaveProgressDialog().

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