SatellitesDialog.cpp   SatellitesDialog.cpp 
skipping to change at line 72 skipping to change at line 72
{ {
if (dialog) if (dialog)
ui->retranslateUi(dialog); ui->retranslateUi(dialog);
} }
// Initialize the dialog widgets and connect the signals/slots // Initialize the dialog widgets and connect the signals/slots
void SatellitesDialog::createDialogContent() void SatellitesDialog::createDialogContent()
{ {
ui->setupUi(dialog); ui->setupUi(dialog);
ui->tabs->setCurrentIndex(0); ui->tabs->setCurrentIndex(0);
connect(&StelApp::getInstance(), SIGNAL(languageChanged()), this, SL OT(languageChanged()));
// 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(updateTLEs() )); connect(ui->updateButton, SIGNAL(clicked()), this, SLOT(updateTLEs() ));
connect(GETSTELMODULE(Satellites), SIGNAL(updateStateChanged(Satelli tes::UpdateState)), this, SLOT(updateStateReceiver(Satellites::UpdateState) )); connect(GETSTELMODULE(Satellites), SIGNAL(updateStateChanged(Satelli tes::UpdateState)), this, SLOT(updateStateReceiver(Satellites::UpdateState) ));
connect(GETSTELMODULE(Satellites), SIGNAL(tleUpdateComplete(int, int , int)), this, SLOT(updateCompleteReceiver(int, int, int))); connect(GETSTELMODULE(Satellites), SIGNAL(tleUpdateComplete(int, int , int)), this, SLOT(updateCompleteReceiver(int, int, int)));
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 1 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/