The modal “Check for Updates” dialog.
More...
#include <dp_gui_updatedialog.hxx>
|
| static void | createNotifyJob (bool bPrepareOnly, css::uno::Sequence< css::uno::Sequence< OUString > > const &rItemList) |
| |
| static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
| |
|
| | UpdateDialog (UpdateDialog const &)=delete |
| |
| UpdateDialog & | operator= (UpdateDialog const &)=delete |
| |
| void | insertItem (const UpdateDialog::Index *pIndex, bool bEnableCheckBox) |
| |
| void | addAdditional (const UpdateDialog::Index *pIndex, bool bEnableCheckBox) |
| |
| bool | isIgnoredUpdate (UpdateDialog::Index *pIndex) |
| |
| void | addEnabledUpdate (OUString const &name, dp_gui::UpdateData const &data) |
| |
| void | addDisabledUpdate (UpdateDialog::DisabledUpdate const &data) |
| |
| void | addSpecificError (UpdateDialog::SpecificError const &data) |
| |
| void | checkingDone () |
| |
| void | enableOk () |
| |
| void | getIgnoredUpdates () |
| |
| void | initDescription () |
| |
| void | clearDescription () |
| |
| bool | showDescription (css::uno::Reference< css::deployment::XPackage > const &aExtension) |
| |
| bool | showDescription (std::pair< OUString, OUString > const &pairPublisher, OUString const &sReleaseNotes) |
| |
| bool | showDescription (css::uno::Reference< css::xml::dom::XNode > const &aUpdateInfo) |
| |
| bool | showDescription (const OUString &rDescription) |
| |
| | DECL_LINK (selectionHandler, weld::TreeView &, void) |
| |
| | DECL_LINK (allHandler, weld::Toggleable &, void) |
| |
| | DECL_LINK (okHandler, weld::Button &, void) |
| |
| | DECL_LINK (closeHandler, weld::Button &, void) |
| |
| | DECL_LINK (entryToggled, const weld::TreeView::iter_col &, void) |
| |
The modal “Check for Updates” dialog.
Definition at line 51 of file dp_gui_updatedialog.hxx.
◆ UpdateDialog() [1/2]
| dp_gui::UpdateDialog::UpdateDialog |
( |
css::uno::Reference< css::uno::XComponentContext > const & |
context, |
|
|
weld::Window * |
parent, |
|
|
std::vector< css::uno::Reference< css::deployment::XPackage > > && |
vExtensionList, |
|
|
std::vector< dp_gui::UpdateData > * |
updateData |
|
) |
| |
Create an instance.
Exactly one of selectedPackages and packageManagers must be non-null.
- Parameters
-
| context | a non-null component context |
| parent | the parent window, may be null |
| vExtensionList | check for updates for the contained extensions. There must only be one extension with a particular identifier. If one extension is installed in several repositories, then the one with the highest version must be used, because it contains the latest known update information. |
◆ ~UpdateDialog()
| UpdateDialog::~UpdateDialog |
( |
| ) |
|
|
overridevirtual |
◆ UpdateDialog() [2/2]
◆ addAdditional()
◆ addDisabledUpdate()
◆ addEnabledUpdate()
| void UpdateDialog::addEnabledUpdate |
( |
OUString const & |
name, |
|
|
dp_gui::UpdateData const & |
data |
|
) |
| |
|
private |
◆ addSpecificError()
◆ checkingDone()
| void UpdateDialog::checkingDone |
( |
| ) |
|
|
private |
◆ clearDescription()
| void UpdateDialog::clearDescription |
( |
| ) |
|
|
private |
◆ createNotifyJob()
| void UpdateDialog::createNotifyJob |
( |
bool |
bPrepareOnly, |
|
|
css::uno::Sequence< css::uno::Sequence< OUString > > const & |
rItemList |
|
) |
| |
|
static |
◆ DECL_LINK() [1/5]
◆ DECL_LINK() [2/5]
| dp_gui::UpdateDialog::DECL_LINK |
( |
closeHandler |
, |
|
|
weld::Button & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [3/5]
◆ DECL_LINK() [4/5]
| dp_gui::UpdateDialog::DECL_LINK |
( |
okHandler |
, |
|
|
weld::Button & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [5/5]
| dp_gui::UpdateDialog::DECL_LINK |
( |
selectionHandler |
, |
|
|
weld::TreeView & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ enableOk()
| void UpdateDialog::enableOk |
( |
| ) |
|
|
private |
◆ getIgnoredUpdates()
| void UpdateDialog::getIgnoredUpdates |
( |
| ) |
|
|
private |
◆ initDescription()
| void UpdateDialog::initDescription |
( |
| ) |
|
|
private |
◆ insertItem()
◆ isIgnoredUpdate()
◆ notifyMenubar()
| void UpdateDialog::notifyMenubar |
( |
bool |
bPrepareOnly, |
|
|
bool |
bRecheckOnly |
|
) |
| |
◆ operator=()
◆ run()
| short UpdateDialog::run |
( |
| ) |
|
|
overridevirtual |
◆ showDescription() [1/4]
| bool UpdateDialog::showDescription |
( |
const OUString & |
rDescription | ) |
|
|
private |
◆ showDescription() [2/4]
| bool dp_gui::UpdateDialog::showDescription |
( |
css::uno::Reference< css::deployment::XPackage > const & |
aExtension | ) |
|
|
private |
◆ showDescription() [3/4]
| bool dp_gui::UpdateDialog::showDescription |
( |
css::uno::Reference< css::xml::dom::XNode > const & |
aUpdateInfo | ) |
|
|
private |
◆ showDescription() [4/4]
| bool UpdateDialog::showDescription |
( |
std::pair< OUString, OUString > const & |
pairPublisher, |
|
|
OUString const & |
sReleaseNotes |
|
) |
| |
|
private |
◆ CheckListBox
| friend class CheckListBox |
|
friend |
◆ Index
◆ Thread
◆ m_browserbased
| OUString dp_gui::UpdateDialog::m_browserbased |
|
private |
◆ m_context
| css::uno::Reference< css::uno::XComponentContext > dp_gui::UpdateDialog::m_context |
|
private |
◆ m_disabledUpdates
◆ m_enabledUpdates
◆ m_failure
| OUString dp_gui::UpdateDialog::m_failure |
|
private |
◆ m_ignoredUpdate
| OUString dp_gui::UpdateDialog::m_ignoredUpdate |
|
private |
◆ m_ignoredUpdates
◆ m_ListboxEntries
| std::vector< std::unique_ptr<Index> > dp_gui::UpdateDialog::m_ListboxEntries |
|
private |
◆ m_noDependency
| OUString dp_gui::UpdateDialog::m_noDependency |
|
private |
◆ m_noDependencyCurVer
| OUString dp_gui::UpdateDialog::m_noDependencyCurVer |
|
private |
◆ m_noDescription
| OUString dp_gui::UpdateDialog::m_noDescription |
|
private |
◆ m_noInstall
| OUString dp_gui::UpdateDialog::m_noInstall |
|
private |
◆ m_noInstallable
| OUString dp_gui::UpdateDialog::m_noInstallable |
|
private |
◆ m_none
| OUString dp_gui::UpdateDialog::m_none |
|
private |
◆ m_specificErrors
◆ m_thread
◆ m_unknownError
| OUString dp_gui::UpdateDialog::m_unknownError |
|
private |
◆ m_updateData
◆ m_version
| OUString dp_gui::UpdateDialog::m_version |
|
private |
◆ m_xAll
◆ m_xChecking
| std::unique_ptr<weld::Label> dp_gui::UpdateDialog::m_xChecking |
|
private |
◆ m_xClose
| std::unique_ptr<weld::Button> dp_gui::UpdateDialog::m_xClose |
|
private |
◆ m_xDescription
| std::unique_ptr<weld::Label> dp_gui::UpdateDialog::m_xDescription |
|
private |
◆ m_xDescriptions
◆ m_xExtensionManager
| css::uno::Reference< css::deployment::XExtensionManager > dp_gui::UpdateDialog::m_xExtensionManager |
|
private |
◆ m_xHelp
◆ m_xOk
◆ m_xPublisherLabel
| std::unique_ptr<weld::Label> dp_gui::UpdateDialog::m_xPublisherLabel |
|
private |
◆ m_xPublisherLink
◆ m_xReleaseNotesLabel
| std::unique_ptr<weld::Label> dp_gui::UpdateDialog::m_xReleaseNotesLabel |
|
private |
◆ m_xReleaseNotesLink
◆ m_xThrobber
◆ m_xUpdate
| std::unique_ptr<weld::Label> dp_gui::UpdateDialog::m_xUpdate |
|
private |
◆ m_xUpdates
The documentation for this class was generated from the following files: