ExoplanetsDialog.cpp   ExoplanetsDialog.cpp 
skipping to change at line 102 skipping to change at line 102
ui->displayAtStartupCheckBox->setChecked(ep->getEnableAtStartup()); ui->displayAtStartupCheckBox->setChecked(ep->getEnableAtStartup());
connect(ui->displayAtStartupCheckBox, SIGNAL(stateChanged(int)), thi s, SLOT(setDisplayAtStartupEnabled(int))); connect(ui->displayAtStartupCheckBox, SIGNAL(stateChanged(int)), thi s, SLOT(setDisplayAtStartupEnabled(int)));
ui->displayModeCheckBox->setChecked(ep->getDisplayMode()); ui->displayModeCheckBox->setChecked(ep->getDisplayMode());
connect(ui->displayModeCheckBox, SIGNAL(stateChanged(int)), this, SL OT(setDistributionEnabled(int))); connect(ui->displayModeCheckBox, SIGNAL(stateChanged(int)), this, SL OT(setDistributionEnabled(int)));
ui->displayShowExoplanetsButton->setChecked(ep->getFlagShowExoplanet sButton()); ui->displayShowExoplanetsButton->setChecked(ep->getFlagShowExoplanet sButton());
connect(ui->displayShowExoplanetsButton, SIGNAL(stateChanged(int)), this, SLOT(setDisplayShowExoplanetsButton(int))); connect(ui->displayShowExoplanetsButton, SIGNAL(stateChanged(int)), this, SLOT(setDisplayShowExoplanetsButton(int)));
ui->timelineModeCheckBox->setChecked(ep->getTimelineMode()); ui->timelineModeCheckBox->setChecked(ep->getTimelineMode());
connect(ui->timelineModeCheckBox, SIGNAL(stateChanged(int)), this, S LOT(setTimelineEnabled(int))); connect(ui->timelineModeCheckBox, SIGNAL(stateChanged(int)), this, S LOT(setTimelineEnabled(int)));
ui->habitableModeCheckBox->setChecked(ep->getHabitableMode()); ui->habitableModeCheckBox->setChecked(ep->getHabitableMode());
connect(ui->habitableModeCheckBox, SIGNAL(stateChanged(int)), this, SLOT(setHabitableEnabled(int))); connect(ui->habitableModeCheckBox, SIGNAL(stateChanged(int)), this, SLOT(setHabitableEnabled(int)));
ui->displayShowDesignationsCheckBox->setChecked(ep->getFlagShowExopl
anetsDesignations());
connect(ui->displayShowDesignationsCheckBox, SIGNAL(stateChanged(int
)), this, SLOT(setDisplayShowExoplanetsDesignations(int)));
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(ep, SIGNAL(updateStateChanged(Exoplanets::UpdateState)), thi s, SLOT(updateStateReceiver(Exoplanets::UpdateState))); connect(ep, SIGNAL(updateStateChanged(Exoplanets::UpdateState)), thi s, SLOT(updateStateReceiver(Exoplanets::UpdateState)));
connect(ep, SIGNAL(jsonUpdateComplete(void)), this, SLOT(updateCompl eteReceiver(void))); connect(ep, SIGNAL(jsonUpdateComplete(void)), this, SLOT(updateCompl eteReceiver(void)));
connect(ep, SIGNAL(jsonUpdateComplete(void)), ep, SLOT(reloadCatalog ())); connect(ep, SIGNAL(jsonUpdateComplete(void)), ep, SLOT(reloadCatalog ()));
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());
skipping to change at line 318 skipping to change at line 320
ep->setUpdateFrequencyHours(hours); ep->setUpdateFrequencyHours(hours);
refreshUpdateValues(); refreshUpdateValues();
} }
void ExoplanetsDialog::setDistributionEnabled(int checkState) void ExoplanetsDialog::setDistributionEnabled(int checkState)
{ {
bool b = checkState != Qt::Unchecked; bool b = checkState != Qt::Unchecked;
ep->setDisplayMode(b); ep->setDisplayMode(b);
} }
void ExoplanetsDialog::setDisplayShowExoplanetsDesignations(int checkState)
{
bool b = checkState != Qt::Unchecked;
ep->setFlagShowExoplanetsDesignations(b);
}
void ExoplanetsDialog::setTimelineEnabled(int checkState) void ExoplanetsDialog::setTimelineEnabled(int checkState)
{ {
bool b = checkState != Qt::Unchecked; bool b = checkState != Qt::Unchecked;
ep->setTimelineMode(b); ep->setTimelineMode(b);
} }
void ExoplanetsDialog::setHabitableEnabled(int checkState) void ExoplanetsDialog::setHabitableEnabled(int checkState)
{ {
bool b = checkState != Qt::Unchecked; bool b = checkState != Qt::Unchecked;
ep->setHabitableMode(b); ep->setHabitableMode(b);
 End of changes. 2 change blocks. 
0 lines changed or deleted 10 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/