Ref T203, download component (generic file download)

This commit is contained in:
Klaus Basan
2017-12-12 20:40:20 +01:00
parent 45d02bd22a
commit 9cc38c7f39
8 changed files with 1051 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ namespace BlackGui
namespace Components
{
class CInstallXSwiftBusDialog;
class CDownloadDialog;
/**
* Update info (distributions, artifacts etc.)
@@ -59,6 +60,7 @@ namespace BlackGui
private:
QScopedPointer<Ui::CUpdateInfoComponent> ui;
QScopedPointer<CInstallXSwiftBusDialog> m_installXSwiftBusDialog; //!< dialog, install XSwiftXBus
QScopedPointer<CDownloadDialog> m_downloadDialog; //!< dialog, download installer
BlackMisc::CDataReadOnly<BlackMisc::Db::TUpdateInfo> m_updateInfo { this, &CUpdateInfoComponent::changedUpdateInfo }; //!< version cache
BlackMisc::CSetting<BlackCore::Application::TUpdatePreferences> m_updateSettings { this }; //!< channel/platform selected
BlackMisc::CDigestSignal m_dsDistributionAvailable { this, &CUpdateInfoComponent::updateInfoAvailable, 15000, 2 };
@@ -81,6 +83,9 @@ namespace BlackGui
//! Install XSwiftBus dialog
void downloadXSwiftBusDialog();
//! Download installer dialog
void downloadInstallerDialog();
//! Save the current settings
void saveSettings();