SupernovaeDialog.cpp   SupernovaeDialog.cpp 
skipping to change at line 79 skipping to change at line 79
// Initialize the dialog widgets and connect the signals/slots // Initialize the dialog widgets and connect the signals/slots
void SupernovaeDialog::createDialogContent() void SupernovaeDialog::createDialogContent()
{ {
sn = GETSTELMODULE(Supernovae); sn = GETSTELMODULE(Supernovae);
ui->setupUi(dialog); ui->setupUi(dialog);
ui->tabs->setCurrentIndex(0); ui->tabs->setCurrentIndex(0);
connect(&StelApp::getInstance(), SIGNAL(languageChanged()), connect(&StelApp::getInstance(), SIGNAL(languageChanged()),
this, SLOT(retranslate())); this, SLOT(retranslate()));
//Kinetic scrolling for tablet pc and pc
QList<QWidget *> addscroll;
addscroll << ui->aboutTextBrowser;
installKineticScrolling(addscroll);
// Settings tab / updates group // Settings tab / updates group
connect(ui->internetUpdatesCheckbox, SIGNAL(stateChanged(int)), this , SLOT(setUpdatesEnabled(int))); connect(ui->internetUpdatesCheckbox, SIGNAL(stateChanged(int)), this , SLOT(setUpdatesEnabled(int)));
connect(ui->updateButton, SIGNAL(clicked()), this, SLOT(updateJSON() )); connect(ui->updateButton, SIGNAL(clicked()), this, SLOT(updateJSON() ));
connect(sn, SIGNAL(updateStateChanged(Supernovae::UpdateState)), thi s, SLOT(updateStateReceiver(Supernovae::UpdateState))); connect(sn, SIGNAL(updateStateChanged(Supernovae::UpdateState)), thi s, SLOT(updateStateReceiver(Supernovae::UpdateState)));
connect(sn, SIGNAL(jsonUpdateComplete(void)), this, SLOT(updateCompl eteReceiver(void))); connect(sn, SIGNAL(jsonUpdateComplete(void)), this, SLOT(updateCompl eteReceiver(void)));
connect(ui->updateFrequencySpinBox, SIGNAL(valueChanged(int)), this, SLOT(setUpdateValues(int))); connect(ui->updateFrequencySpinBox, SIGNAL(valueChanged(int)), this, SLOT(setUpdateValues(int)));
refreshUpdateValues(); // fetch values for last updated and so on refreshUpdateValues(); // fetch values for last updated and so on
// if the state didn't change, setUpdatesEnabled will not be called, so we force it // if the state didn't change, setUpdatesEnabled will not be called, so we force it
setUpdatesEnabled(ui->internetUpdatesCheckbox->checkState()); setUpdatesEnabled(ui->internetUpdatesCheckbox->checkState());
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/