25#include <com/sun/star/uno/Reference.hxx>
26#include <com/sun/star/uno/Sequence.hxx>
28#include <rtl/ustring.hxx>
42 namespace deployment {
class XExtensionManager;
44 namespace uno {
class XComponentContext; }
72 css::uno::Reference< css::uno::XComponentContext >
const & context,
74 std::vector< css::uno::Reference< css::deployment::XPackage > > && vExtensionList,
75 std::vector< dp_gui::UpdateData > * updateData);
79 virtual short run()
override;
83 css::uno::Sequence< css::uno::Sequence< OUString > >
const &rItemList );
116 css::deployment::XPackage >
const & aExtension);
117 bool showDescription(std::pair< OUString, OUString >
const & pairPublisher,
118 OUString
const & sReleaseNotes);
120 css::xml::dom::XNode >
const & aUpdateInfo);
129 css::uno::Reference< css::uno::XComponentContext >
m_context;
154 std::unique_ptr<weld::CheckButton>
m_xAll;
161 std::unique_ptr<weld::Button>
m_xOk;
The modal “Check for Updates” dialog.
DECL_LINK(closeHandler, weld::Button &, void)
void addAdditional(const UpdateDialog::Index *pIndex, bool bEnableCheckBox)
void notifyMenubar(bool bPrepareOnly, bool bRecheckOnly)
static void createNotifyJob(bool bPrepareOnly, css::uno::Sequence< css::uno::Sequence< OUString > > const &rItemList)
std::unique_ptr< weld::TextView > m_xDescriptions
virtual ~UpdateDialog() override
bool showDescription(css::uno::Reference< css::deployment::XPackage > const &aExtension)
std::unique_ptr< weld::Label > m_xChecking
css::uno::Reference< css::uno::XComponentContext > m_context
OUString m_noDependencyCurVer
DECL_LINK(selectionHandler, weld::TreeView &, void)
DECL_LINK(allHandler, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xPublisherLabel
friend class CheckListBox
UpdateDialog(UpdateDialog const &)=delete
std::vector< UpdateDialog::SpecificError > m_specificErrors
std::unique_ptr< weld::TreeView > m_xUpdates
std::unique_ptr< weld::Button > m_xOk
std::unique_ptr< weld::CheckButton > m_xAll
DECL_LINK(okHandler, weld::Button &, void)
void addDisabledUpdate(UpdateDialog::DisabledUpdate const &data)
std::unique_ptr< weld::Button > m_xClose
void addSpecificError(UpdateDialog::SpecificError const &data)
virtual short run() override
DECL_LINK(entryToggled, const weld::TreeView::iter_col &, void)
UpdateDialog & operator=(UpdateDialog const &)=delete
std::unique_ptr< weld::Spinner > m_xThrobber
void insertItem(const UpdateDialog::Index *pIndex, bool bEnableCheckBox)
css::uno::Reference< css::deployment::XExtensionManager > m_xExtensionManager
std::unique_ptr< weld::LinkButton > m_xReleaseNotesLink
std::vector< UpdateDialog::DisabledUpdate > m_disabledUpdates
std::unique_ptr< weld::Label > m_xUpdate
std::vector< std::unique_ptr< Index > > m_ListboxEntries
std::unique_ptr< weld::Button > m_xHelp
std::unique_ptr< weld::LinkButton > m_xPublisherLink
std::vector< dp_gui::UpdateData > & m_updateData
std::unique_ptr< weld::Label > m_xDescription
bool showDescription(css::uno::Reference< css::xml::dom::XNode > const &aUpdateInfo)
std::vector< dp_gui::UpdateData > m_enabledUpdates
void addEnabledUpdate(OUString const &name, dp_gui::UpdateData const &data)
rtl::Reference< UpdateDialog::Thread > m_thread
std::unique_ptr< weld::Label > m_xReleaseNotesLabel
std::vector< std::unique_ptr< UpdateDialog::IgnoredUpdate > > m_ignoredUpdates
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.
bool isIgnoredUpdate(UpdateDialog::Index *pIndex)
std::pair< const TreeIter &, int > iter_col