Implement changing update channels

Allow the user to select which update channel they would like to
download updates from.
This commit is contained in:
Forkk
2014-01-04 19:46:47 -06:00
parent 116a6458b5
commit d30962bf00
6 changed files with 125 additions and 32 deletions

View File

@ -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<JavaChecker> checker;
/*!
* Stores the currently selected update channel.
*/
QString m_currentUpdateChannel;
};