Ref T41, adjusted info component to be used with dialog

This commit is contained in:
Klaus Basan
2017-04-25 14:37:26 +02:00
committed by Mathew Sutcliffe
parent d1bf788f07
commit 7f0a971b4a
4 changed files with 27 additions and 5 deletions

View File

@@ -37,12 +37,21 @@ namespace BlackGui
virtual ~CDistributionInfoComponent();
//! Is there a new version available return version, else empty string
QString getNewVersionAvailable() const { return m_newVersionAvailable; }
QString getNewAvailableVersionForSelection() const { return m_newVersionAvailable; }
//! Is there a new version available?
bool isNewVersionAvailable() const;
//! Current distribution
BlackMisc::Db::CDistribution getCurrentDistribution() { return m_currentDistribution; }
signals:
//! Distribution info loaded
void distributionInfoAvailable(bool success);
//! New platfrom or channel
void selectionChanged();
private slots:
//! Load latest version
void ps_loadSetup();