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:
Collaboration diagram for svx::DocRecovery::SaveDialog:

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, bool bMobile=false)
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

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

pParentcan point to a parent window. If it's 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 533 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 ( )

Definition at line 558 of file docrecovery.cxx.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 315 of file docrecovery.hxx.

Referenced by SaveDialog().

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

Definition at line 316 of file docrecovery.hxx.

Referenced by SaveDialog().

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

Definition at line 317 of file docrecovery.hxx.

Referenced by SaveDialog().

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