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

#include <docrecovery.hxx>

Inheritance diagram for svx::DocRecovery::SaveProgressDialog:
[legend]
Collaboration diagram for svx::DocRecovery::SaveProgressDialog:
[legend]

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 OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
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 Attributes

RecoveryCorem_pCore
 
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 341 of file docrecovery.hxx.

Constructor & Destructor Documentation

svx::DocRecovery::SaveProgressDialog::SaveProgressDialog ( weld::Window pParent,
RecoveryCore pCore 
)

create all child controls of this dialog.

The dialog isn't shown nor it starts any action by itself!

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

Definition at line 593 of file docrecovery.cxx.

References m_xProgress, and m_xProgressBar.

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

Definition at line 603 of file docrecovery.cxx.

Member Function Documentation

void svx::DocRecovery::SaveProgressDialog::end ( )
overridevirtual
short svx::DocRecovery::SaveProgressDialog::run ( )
overridevirtual
void svx::DocRecovery::SaveProgressDialog::stepNext ( TURLInfo pItem)
overridevirtual

Implements svx::DocRecovery::IRecoveryUpdateListener.

Definition at line 623 of file docrecovery.cxx.

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

Implements svx::DocRecovery::IRecoveryUpdateListener.

Definition at line 619 of file docrecovery.cxx.

Member Data Documentation

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

Definition at line 347 of file docrecovery.hxx.

Referenced by run().

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

Definition at line 352 of file docrecovery.hxx.

Referenced by run(), and SaveProgressDialog().

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

Definition at line 349 of file docrecovery.hxx.

Referenced by SaveProgressDialog().


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