From d30962bf00b491f3cc23c505b6597c7618ddcd8c Mon Sep 17 00:00:00 2001 From: Forkk Date: Sat, 4 Jan 2014 19:46:47 -0600 Subject: Implement changing update channels Allow the user to select which update channel they would like to download updates from. --- gui/dialogs/SettingsDialog.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gui/dialogs/SettingsDialog.h') diff --git a/gui/dialogs/SettingsDialog.h b/gui/dialogs/SettingsDialog.h index 11fdb696..df67d492 100644 --- a/gui/dialogs/SettingsDialog.h +++ b/gui/dialogs/SettingsDialog.h @@ -74,7 +74,25 @@ slots: void on_javaBrowseBtn_clicked(); void checkFinished(JavaCheckResult result); + + /*! + * Updates the list of update channels in the combo box. + */ + void refreshUpdateChannelList(); + + /*! + * Updates the channel description label. + */ + void refreshUpdateChannelDesc(); + + void updateChannelSelectionChanged(int index); + private: Ui::SettingsDialog *ui; std::shared_ptr checker; + + /*! + * Stores the currently selected update channel. + */ + QString m_currentUpdateChannel; }; -- cgit v1.2.3