PulsarsDialog.cpp   PulsarsDialog.cpp 
skipping to change at line 21 skipping to change at line 21
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#include "config.h"
#include <QDebug> #include <QDebug>
#include <QTimer> #include <QTimer>
#include <QDateTime> #include <QDateTime>
#include <QUrl> #include <QUrl>
#include <QFileDialog> #include <QFileDialog>
#include "StelApp.hpp" #include "StelApp.hpp"
#include "ui_pulsarsDialog.h" #include "ui_pulsarsDialog.h"
#include "PulsarsDialog.hpp" #include "PulsarsDialog.hpp"
#include "Pulsars.hpp" #include "Pulsars.hpp"
skipping to change at line 79 skipping to change at line 77
// Initialize the dialog widgets and connect the signals/slots // Initialize the dialog widgets and connect the signals/slots
void PulsarsDialog::createDialogContent() void PulsarsDialog::createDialogContent()
{ {
psr = GETSTELMODULE(Pulsars); psr = GETSTELMODULE(Pulsars);
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()));
#ifdef Q_OS_WIN
//Kinetic scrolling for tablet pc and pc //Kinetic scrolling for tablet pc and pc
QList<QWidget *> addscroll; QList<QWidget *> addscroll;
addscroll << ui->aboutTextBrowser; addscroll << ui->aboutTextBrowser;
installKineticScrolling(addscroll); installKineticScrolling(addscroll);
#endif
// Settings tab / updates group // Settings tab / updates group
ui->displayModeCheckBox->setChecked(psr->getDisplayMode()); ui->displayModeCheckBox->setChecked(psr->getDisplayMode());
connect(ui->displayModeCheckBox, SIGNAL(stateChanged(int)), this, SL OT(setDistributionEnabled(int))); connect(ui->displayModeCheckBox, SIGNAL(stateChanged(int)), this, SL OT(setDistributionEnabled(int)));
ui->displayAtStartupCheckBox->setChecked(psr->getEnableAtStartup()); ui->displayAtStartupCheckBox->setChecked(psr->getEnableAtStartup());
connect(ui->displayAtStartupCheckBox, SIGNAL(stateChanged(int)), thi s, SLOT(setDisplayAtStartupEnabled(int))); connect(ui->displayAtStartupCheckBox, SIGNAL(stateChanged(int)), thi s, SLOT(setDisplayAtStartupEnabled(int)));
ui->displayShowPulsarsButton->setChecked(psr->getFlagShowPulsarsButt on()); ui->displayShowPulsarsButton->setChecked(psr->getFlagShowPulsarsButt on());
ui->displaySeparateColorsCheckBox->setChecked(psr->getGlitchFlag()); ui->displaySeparateColorsCheckBox->setChecked(psr->getGlitchFlag());
connect(ui->displaySeparateColorsCheckBox, SIGNAL(stateChanged(int)) , this, SLOT(setSeparateColorsFlag(int))); connect(ui->displaySeparateColorsCheckBox, SIGNAL(stateChanged(int)) , this, SLOT(setSeparateColorsFlag(int)));
connect(ui->displayShowPulsarsButton, SIGNAL(stateChanged(int)), thi s, SLOT(setDisplayShowPulsarsButton(int))); connect(ui->displayShowPulsarsButton, SIGNAL(stateChanged(int)), thi s, SLOT(setDisplayShowPulsarsButton(int)));
 End of changes. 3 change blocks. 
2 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/