CustomDeltaTEquationDialog.cpp   CustomDeltaTEquationDialog.cpp 
skipping to change at line 31 skipping to change at line 31
#include "Dialog.hpp" #include "Dialog.hpp"
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelTranslator.hpp" #include "StelTranslator.hpp"
#include "StelObjectMgr.hpp" #include "StelObjectMgr.hpp"
#include <QDebug> #include <QDebug>
CustomDeltaTEquationDialog::CustomDeltaTEquationDialog() CustomDeltaTEquationDialog::CustomDeltaTEquationDialog()
{ {
dialogName = "CustomDeltaTEquation";
ui = new Ui_customDeltaTEquationDialogForm; ui = new Ui_customDeltaTEquationDialogForm;
conf = StelApp::getInstance().getSettings(); conf = StelApp::getInstance().getSettings();
core = StelApp::getInstance().getCore(); core = StelApp::getInstance().getCore();
ndot = core->getDeltaTCustomNDot(); ndot = core->getDeltaTCustomNDot();
year = core->getDeltaTCustomYear(); year = core->getDeltaTCustomYear();
coeff = core->getDeltaTCustomEquationCoefficients(); coeff = core->getDeltaTCustomEquationCoefficients();
} }
CustomDeltaTEquationDialog::~CustomDeltaTEquationDialog() CustomDeltaTEquationDialog::~CustomDeltaTEquationDialog()
skipping to change at line 71 skipping to change at line 72
ui->lineEditCoefficientA->setText(QString("%1").arg(coeff[0])); ui->lineEditCoefficientA->setText(QString("%1").arg(coeff[0]));
ui->lineEditCoefficientB->setText(QString("%1").arg(coeff[1])); ui->lineEditCoefficientB->setText(QString("%1").arg(coeff[1]));
ui->lineEditCoefficientC->setText(QString("%1").arg(coeff[2])); ui->lineEditCoefficientC->setText(QString("%1").arg(coeff[2]));
ui->lineEditYear->setText(QString("%1").arg(year)); ui->lineEditYear->setText(QString("%1").arg(year));
ui->lineEditNDot->setText(QString("%1").arg(ndot)); ui->lineEditNDot->setText(QString("%1").arg(ndot));
//Signals and slots //Signals and slots
connect(&StelApp::getInstance(), SIGNAL(languageChanged()), this, SL OT(retranslate())); connect(&StelApp::getInstance(), SIGNAL(languageChanged()), this, SL OT(retranslate()));
connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ; connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ;
connect(ui->TitleBar, SIGNAL(movedTo(QPoint)), this, SLOT(handleMove dTo(QPoint)));
connect(ui->lineEditNDot, SIGNAL(textEdited(const QString&)), this, SLOT(setNDot(const QString&))); connect(ui->lineEditNDot, SIGNAL(textEdited(const QString&)), this, SLOT(setNDot(const QString&)));
connect(ui->lineEditYear, SIGNAL(textEdited(const QString&)), this, SLOT(setYear(const QString&))); connect(ui->lineEditYear, SIGNAL(textEdited(const QString&)), this, SLOT(setYear(const QString&)));
connect(ui->lineEditCoefficientA, SIGNAL(textEdited(const QString&)) , this, SLOT(setCoeffA(const QString&))); connect(ui->lineEditCoefficientA, SIGNAL(textEdited(const QString&)) , this, SLOT(setCoeffA(const QString&)));
connect(ui->lineEditCoefficientB, SIGNAL(textEdited(const QString&)) , this, SLOT(setCoeffB(const QString&))); connect(ui->lineEditCoefficientB, SIGNAL(textEdited(const QString&)) , this, SLOT(setCoeffB(const QString&)));
connect(ui->lineEditCoefficientC, SIGNAL(textEdited(const QString&)) , this, SLOT(setCoeffC(const QString&))); connect(ui->lineEditCoefficientC, SIGNAL(textEdited(const QString&)) , this, SLOT(setCoeffC(const QString&)));
} }
void CustomDeltaTEquationDialog::setVisible(bool v) void CustomDeltaTEquationDialog::setVisible(bool v)
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 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/