LibreOffice Module desktop (master) 1
|
#include <dp_gui_dialog2.hxx>
Public Member Functions | |
DialogHelper (const css::uno::Reference< css::uno::XComponentContext > &, weld::Window *pWindow) | |
virtual | ~DialogHelper () |
void | openWebBrowser (const OUString &rURL, const OUString &rTitle) |
weld::Window * | getFrameWeld () const |
void | PostUserEvent (const Link< void *, void > &rLink, void *pCaller) |
void | clearEventID () |
virtual void | showProgress (bool bStart)=0 |
virtual void | updateProgress (const OUString &rText, const css::uno::Reference< css::task::XAbortChannel > &xAbortChannel)=0 |
virtual void | updateProgress (const tools::Long nProgress)=0 |
virtual void | updatePackageInfo (const css::uno::Reference< css::deployment::XPackage > &xPackage)=0 |
virtual void | addPackageToList (const css::uno::Reference< css::deployment::XPackage > &xPackage, bool bLicenseMissing=false)=0 |
virtual void | prepareChecking ()=0 |
virtual void | checkEntries ()=0 |
bool | continueOnSharedExtension (const css::uno::Reference< css::deployment::XPackage > &, weld::Widget *pParent, TranslateId pResID, bool &bHadWarning) |
void | incBusy () |
void | decBusy () |
bool | isBusy () const |
bool | installExtensionWarn (std::u16string_view rExtensionURL) |
bool | installForAllUsers (bool &bInstallForAll) |
Static Public Member Functions | |
static bool | IsSharedPkgMgr (const css::uno::Reference< css::deployment::XPackage > &) |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
weld::Window * | m_pWindow |
ImplSVEvent * | m_nEventID |
TopLevelWindowLocker | m_aBusy |
Definition at line 48 of file dp_gui_dialog2.hxx.
dp_gui::DialogHelper::DialogHelper | ( | const css::uno::Reference< css::uno::XComponentContext > & | , |
weld::Window * | pWindow | ||
) |
Definition at line 284 of file dp_gui_dialog2.cxx.
References m_xContext, and xContext.
|
virtual |
Definition at line 292 of file dp_gui_dialog2.cxx.
References m_nEventID, and Application::RemoveUserEvent().
|
pure virtual |
Implemented in dp_gui::ExtMgrDialog, and dp_gui::UpdateRequiredDialog.
Referenced by dp_gui::TheExtensionManager::createPackageList().
|
pure virtual |
Implemented in dp_gui::ExtMgrDialog, and dp_gui::UpdateRequiredDialog.
Referenced by dp_gui::TheExtensionManager::modified().
|
inline |
Definition at line 63 of file dp_gui_dialog2.hxx.
References m_nEventID.
bool dp_gui::DialogHelper::continueOnSharedExtension | ( | const css::uno::Reference< css::deployment::XPackage > & | , |
weld::Widget * | pParent, | ||
TranslateId | pResID, | ||
bool & | bHadWarning | ||
) |
Definition at line 304 of file dp_gui_dialog2.cxx.
References Application::CreateMessageDialog(), decBusy(), DpResId(), incBusy(), IsSharedPkgMgr(), and RET_OK.
Referenced by dp_gui::ExtMgrDialog::enablePackage(), and dp_gui::ExtMgrDialog::removePackage().
|
inline |
Definition at line 84 of file dp_gui_dialog2.hxx.
References TopLevelWindowLocker::decBusy(), and m_aBusy.
Referenced by dp_gui::ExtBoxWithBtns_Impl::Command(), continueOnSharedExtension(), dp_gui::UpdateRequiredDialog::disableAllEntries(), installExtensionWarn(), installForAllUsers(), openWebBrowser(), and dp_gui::ExtMgrDialog::removeExtensionWarn().
|
inline |
Definition at line 61 of file dp_gui_dialog2.hxx.
References m_pWindow.
Referenced by installExtensionWarn(), installForAllUsers(), and openWebBrowser().
|
inline |
Definition at line 83 of file dp_gui_dialog2.hxx.
References TopLevelWindowLocker::incBusy(), m_aBusy, and m_pWindow.
Referenced by dp_gui::ExtBoxWithBtns_Impl::Command(), continueOnSharedExtension(), dp_gui::UpdateRequiredDialog::disableAllEntries(), installExtensionWarn(), installForAllUsers(), openWebBrowser(), and dp_gui::ExtMgrDialog::removeExtensionWarn().
bool dp_gui::DialogHelper::installExtensionWarn | ( | std::u16string_view | rExtensionURL | ) |
Definition at line 353 of file dp_gui_dialog2.cxx.
References Application::CreateMessageDialog(), decBusy(), DpResId(), getFrameWeld(), incBusy(), and RET_OK.
bool dp_gui::DialogHelper::installForAllUsers | ( | bool & | bInstallForAll | ) |
Definition at line 385 of file dp_gui_dialog2.cxx.
References Application::CreateBuilder(), decBusy(), getFrameWeld(), incBusy(), RET_CANCEL, and RET_NO.
Referenced by dp_gui::TheExtensionManager::installPackage().
|
inline |
Definition at line 85 of file dp_gui_dialog2.hxx.
References TopLevelWindowLocker::isBusy(), and m_aBusy.
Referenced by dp_gui::TheExtensionManager::queryTermination().
|
static |
Definition at line 299 of file dp_gui_dialog2.cxx.
References dp_gui::SHARED_PACKAGE_MANAGER.
Referenced by continueOnSharedExtension(), and dp_gui::ExtMgrDialog::removePackage().
void dp_gui::DialogHelper::openWebBrowser | ( | const OUString & | rURL, |
const OUString & | rTitle | ||
) |
Definition at line 326 of file dp_gui_dialog2.cxx.
References dp_registry::backend::bundle::create(), Application::CreateMessageDialog(), decBusy(), getFrameWeld(), incBusy(), and m_xContext.
void dp_gui::DialogHelper::PostUserEvent | ( | const Link< void *, void > & | rLink, |
void * | pCaller | ||
) |
Definition at line 401 of file dp_gui_dialog2.cxx.
References m_nEventID, Application::PostUserEvent(), and Application::RemoveUserEvent().
Referenced by dp_gui::ExtMgrDialog::showProgress(), and dp_gui::UpdateRequiredDialog::showProgress().
|
pure virtual |
Implemented in dp_gui::ExtMgrDialog, and dp_gui::UpdateRequiredDialog.
Referenced by dp_gui::TheExtensionManager::modified().
|
pure virtual |
Implemented in dp_gui::ExtMgrDialog, and dp_gui::UpdateRequiredDialog.
|
pure virtual |
Implemented in dp_gui::ExtMgrDialog, and dp_gui::UpdateRequiredDialog.
|
pure virtual |
Implemented in dp_gui::ExtMgrDialog, and dp_gui::UpdateRequiredDialog.
|
pure virtual |
Implemented in dp_gui::ExtMgrDialog, and dp_gui::UpdateRequiredDialog.
|
private |
Definition at line 53 of file dp_gui_dialog2.hxx.
|
private |
Definition at line 52 of file dp_gui_dialog2.hxx.
Referenced by clearEventID(), PostUserEvent(), and ~DialogHelper().
|
private |
Definition at line 51 of file dp_gui_dialog2.hxx.
Referenced by getFrameWeld(), and incBusy().
|
private |
Definition at line 50 of file dp_gui_dialog2.hxx.
Referenced by DialogHelper(), and openWebBrowser().