LibreOffice Module vcl (master)  1
Public Member Functions | Protected Attributes | List of all members
weld::MessageDialogController Class Reference

#include <weld.hxx>

Inheritance diagram for weld::MessageDialogController:
[legend]
Collaboration diagram for weld::MessageDialogController:
[legend]

Public Member Functions

 MessageDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, const OString &rRelocateId=OString())
 
virtual DialoggetDialog () override
 
virtual ~MessageDialogController () override
 
void set_primary_text (const OUString &rText)
 
OUString get_primary_text () const
 
void set_default_response (int nResponse)
 
- 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
 

Protected Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::MessageDialogm_xDialog
 
std::unique_ptr< weld::Containerm_xContentArea
 
std::unique_ptr< weld::Widgetm_xRelocate
 
std::unique_ptr< weld::Containerm_xOrigParent
 

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

Detailed Description

Definition at line 1999 of file weld.hxx.

Constructor & Destructor Documentation

weld::MessageDialogController::MessageDialogController ( weld::Widget pParent,
const OUString &  rUIFile,
const OString &  rDialogId,
const OString &  rRelocateId = OString() 
)

Definition at line 50 of file weldutils.cxx.

References m_xBuilder, m_xContentArea, m_xOrigParent, and m_xRelocate.

weld::MessageDialogController::~MessageDialogController ( )
overridevirtual

Definition at line 67 of file weldutils.cxx.

References m_xContentArea, m_xOrigParent, and m_xRelocate.

Member Function Documentation

OUString weld::MessageDialogController::get_primary_text ( ) const
inline

Definition at line 2024 of file weld.hxx.

Dialog * weld::MessageDialogController::getDialog ( )
overridevirtual

Implements weld::DialogController.

Definition at line 48 of file weldutils.cxx.

References m_xDialog.

void weld::MessageDialogController::set_default_response ( int  nResponse)
inline

Definition at line 2025 of file weld.hxx.

void weld::MessageDialogController::set_primary_text ( const OUString &  rText)
inline

Definition at line 2023 of file weld.hxx.

Member Data Documentation

std::unique_ptr<weld::Builder> weld::MessageDialogController::m_xBuilder
protected

Definition at line 2002 of file weld.hxx.

Referenced by MessageDialogController().

std::unique_ptr<weld::Container> weld::MessageDialogController::m_xContentArea
protected

Definition at line 2004 of file weld.hxx.

Referenced by MessageDialogController(), and ~MessageDialogController().

std::unique_ptr<weld::MessageDialog> weld::MessageDialogController::m_xDialog
protected

Definition at line 2003 of file weld.hxx.

Referenced by getDialog().

std::unique_ptr<weld::Container> weld::MessageDialogController::m_xOrigParent
protected

Definition at line 2006 of file weld.hxx.

Referenced by MessageDialogController(), and ~MessageDialogController().

std::unique_ptr<weld::Widget> weld::MessageDialogController::m_xRelocate
protected

Definition at line 2005 of file weld.hxx.

Referenced by MessageDialogController(), and ~MessageDialogController().


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