|
LibreOffice Module desktop (master) 1
|
The modal “Download and Installation” dialog. More...
#include <dp_gui_updateinstalldialog.hxx>
Classes | |
| class | Thread |
Public Member Functions | |
| UpdateInstallDialog (weld::Window *parent, std::vector< UpdateData > &aVecUpdateData, css::uno::Reference< css::uno::XComponentContext > const &xCtx) | |
| Create an instance. More... | |
| virtual | ~UpdateInstallDialog () override |
| virtual short | run () override |
Public Member Functions inherited from weld::GenericDialogController | |
| GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
| virtual Dialog * | getDialog () override |
| virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
| virtual Dialog * | getDialog ()=0 |
| const Dialog * | getConstDialog () 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 Types | |
| enum | INSTALL_ERROR { ERROR_DOWNLOAD , ERROR_INSTALLATION , ERROR_LICENSE_DECLINED } |
Private Member Functions | |
| UpdateInstallDialog (UpdateInstallDialog const &)=delete | |
| UpdateInstallDialog & | operator= (UpdateInstallDialog const &)=delete |
| DECL_LINK (cancelHandler, weld::Button &, void) | |
| void | updateDone () |
| void | setError (INSTALL_ERROR err, std::u16string_view sExtension, std::u16string_view exceptionMessage) |
| void | setError (std::u16string_view exceptionMessage) |
| const css::uno::Reference< css::deployment::XExtensionManager > & | getExtensionManager () const |
Private Attributes | |
| rtl::Reference< Thread > | m_thread |
| css::uno::Reference< css::deployment::XExtensionManager > | m_xExtensionManager |
| bool | m_bError |
| bool | m_bNoEntry |
| OUString | m_sInstalling |
| OUString | m_sFinished |
| OUString | m_sNoErrors |
| OUString | m_sErrorDownload |
| OUString | m_sErrorInstallation |
| OUString | m_sErrorLicenseDeclined |
| OUString | m_sNoInstall |
| OUString | m_sThisErrorOccurred |
| std::unique_ptr< weld::Label > | m_xFt_action |
| std::unique_ptr< weld::ProgressBar > | m_xStatusbar |
| std::unique_ptr< weld::Label > | m_xFt_extension_name |
| std::unique_ptr< weld::TextView > | m_xMle_info |
| std::unique_ptr< weld::Button > | m_xHelp |
| std::unique_ptr< weld::Button > | m_xOk |
| std::unique_ptr< weld::Button > | m_xCancel |
Friends | |
| class | Thread |
| class | UpdateCommandEnv |
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::Builder > | m_xBuilder |
| std::shared_ptr< weld::Dialog > | m_xDialog |
The modal “Download and Installation” dialog.
Definition at line 46 of file dp_gui_updateinstalldialog.hxx.
|
private |
| Enumerator | |
|---|---|
| ERROR_DOWNLOAD | |
| ERROR_INSTALLATION | |
| ERROR_LICENSE_DECLINED | |
Definition at line 75 of file dp_gui_updateinstalldialog.hxx.
| dp_gui::UpdateInstallDialog::UpdateInstallDialog | ( | weld::Window * | parent, |
| std::vector< UpdateData > & | aVecUpdateData, | ||
| css::uno::Reference< css::uno::XComponentContext > const & | xCtx | ||
| ) |
Create an instance.
| parent | the parent window, may be null |
|
overridevirtual |
Definition at line 213 of file dp_gui_updateinstalldialog.cxx.
|
privatedelete |
|
private |
|
inlineprivate |
Definition at line 83 of file dp_gui_updateinstalldialog.hxx.
References m_xExtensionManager.
|
privatedelete |
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 217 of file dp_gui_updateinstalldialog.cxx.
References m_thread.
Referenced by dp_gui::ExtensionCmdQueue::Thread::_checkForUpdates().
|
private |
Definition at line 237 of file dp_gui_updateinstalldialog.cxx.
References err, ERROR_DOWNLOAD, ERROR_INSTALLATION, ERROR_LICENSE_DECLINED, m_bError, m_bNoEntry, m_sErrorDownload, m_sErrorInstallation, m_sErrorLicenseDeclined, m_sNoInstall, m_sThisErrorOccurred, and m_xMle_info.
|
private |
Definition at line 277 of file dp_gui_updateinstalldialog.cxx.
References m_bError, and m_xMle_info.
|
private |
Definition at line 226 of file dp_gui_updateinstalldialog.cxx.
References m_bError, m_sNoErrors, m_xCancel, m_xMle_info, and m_xOk.
|
friend |
Definition at line 67 of file dp_gui_updateinstalldialog.hxx.
|
friend |
Definition at line 68 of file dp_gui_updateinstalldialog.hxx.
|
private |
Definition at line 89 of file dp_gui_updateinstalldialog.hxx.
Referenced by setError(), and updateDone().
|
private |
Definition at line 90 of file dp_gui_updateinstalldialog.hxx.
Referenced by setError().
|
private |
Definition at line 95 of file dp_gui_updateinstalldialog.hxx.
Referenced by setError().
|
private |
Definition at line 96 of file dp_gui_updateinstalldialog.hxx.
Referenced by setError().
|
private |
Definition at line 97 of file dp_gui_updateinstalldialog.hxx.
Referenced by setError().
|
private |
Definition at line 93 of file dp_gui_updateinstalldialog.hxx.
|
private |
Definition at line 92 of file dp_gui_updateinstalldialog.hxx.
|
private |
Definition at line 94 of file dp_gui_updateinstalldialog.hxx.
Referenced by updateDone().
|
private |
Definition at line 98 of file dp_gui_updateinstalldialog.hxx.
Referenced by setError().
|
private |
Definition at line 99 of file dp_gui_updateinstalldialog.hxx.
Referenced by setError().
|
private |
Definition at line 86 of file dp_gui_updateinstalldialog.hxx.
Referenced by run().
|
private |
Definition at line 107 of file dp_gui_updateinstalldialog.hxx.
Referenced by updateDone().
|
private |
Definition at line 87 of file dp_gui_updateinstalldialog.hxx.
Referenced by getExtensionManager().
|
private |
Definition at line 101 of file dp_gui_updateinstalldialog.hxx.
|
private |
Definition at line 103 of file dp_gui_updateinstalldialog.hxx.
|
private |
Definition at line 105 of file dp_gui_updateinstalldialog.hxx.
|
private |
Definition at line 104 of file dp_gui_updateinstalldialog.hxx.
Referenced by setError(), and updateDone().
|
private |
Definition at line 106 of file dp_gui_updateinstalldialog.hxx.
Referenced by updateDone().
|
private |
Definition at line 102 of file dp_gui_updateinstalldialog.hxx.