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

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

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

Constructor & Destructor Documentation

◆ SaveDialog()

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

Definition at line 573 of file docrecovery.cxx.

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

◆ ~SaveDialog()

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

Definition at line 598 of file docrecovery.cxx.

Member Function Documentation


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

Member Data Documentation

◆ m_pCore

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

Definition at line 321 of file docrecovery.hxx.

Referenced by SaveDialog().

◆ m_xFileListLB

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

Definition at line 322 of file docrecovery.hxx.

Referenced by SaveDialog().

◆ m_xOkBtn

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

Definition at line 323 of file docrecovery.hxx.

Referenced by SaveDialog().

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