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

#include <docrecovery.hxx>

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

Public Member Functions

 SaveDialog (weld::Window *pParent, RecoveryCore *pCore)
 create all child controls of this dialog. More...
 
virtual ~SaveDialog () override
 
 DECL_LINK (OKButtonHdl, weld::Button &, void)
 
- 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
 
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 Attributes

RecoveryCorem_pCore
 
std::unique_ptr< weld::TreeViewm_xFileListLB
 
std::unique_ptr< weld::Buttonm_xOkBtn
 

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

Constructor & Destructor Documentation

svx::DocRecovery::SaveDialog::SaveDialog ( 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.
pCoreprovides access to the recovery core service and the current list of open documents, which should be shown inside this dialog.

Definition at line 549 of file docrecovery.cxx.

References svx::DocRecovery::RecoveryCore::doEmergencySavePrepare(), svx::DocRecovery::RecoveryCore::getURLListAccess(), LINK, m_pCore, m_xFileListLB, and m_xOkBtn.

svx::DocRecovery::SaveDialog::~SaveDialog ( )
overridevirtual

Definition at line 574 of file docrecovery.cxx.

Member Function Documentation

svx::DocRecovery::SaveDialog::DECL_LINK ( OKButtonHdl  ,
weld::Button ,
void   
)

Member Data Documentation

RecoveryCore* svx::DocRecovery::SaveDialog::m_pCore
private

Definition at line 314 of file docrecovery.hxx.

Referenced by SaveDialog().

std::unique_ptr<weld::TreeView> svx::DocRecovery::SaveDialog::m_xFileListLB
private

Definition at line 315 of file docrecovery.hxx.

Referenced by SaveDialog().

std::unique_ptr<weld::Button> svx::DocRecovery::SaveDialog::m_xOkBtn
private

Definition at line 316 of file docrecovery.hxx.

Referenced by SaveDialog().


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