AddRemoveLandscapesDialog.cpp   AddRemoveLandscapesDialog.cpp 
skipping to change at line 36 skipping to change at line 36
#include "StelModuleMgr.hpp" #include "StelModuleMgr.hpp"
#include "StelLocaleMgr.hpp" #include "StelLocaleMgr.hpp"
#include <QDebug> #include <QDebug>
#include <QFileDialog> #include <QFileDialog>
#include <QString> #include <QString>
AddRemoveLandscapesDialog::AddRemoveLandscapesDialog() AddRemoveLandscapesDialog::AddRemoveLandscapesDialog()
{ {
ui = new Ui_addRemoveLandscapesDialogForm; ui = new Ui_addRemoveLandscapesDialogForm;
landscapeManager = GETSTELMODULE(LandscapeMgr); landscapeManager = GETSTELMODULE(LandscapeMgr);
lastUsedDirectoryPath = QDir::homePath(); lastUsedDirectoryPath = QDir::homePath();
} }
AddRemoveLandscapesDialog::~AddRemoveLandscapesDialog() AddRemoveLandscapesDialog::~AddRemoveLandscapesDialog()
{ {
delete ui; delete ui;
} }
void AddRemoveLandscapesDialog::languageChanged() void AddRemoveLandscapesDialog::languageChanged()
{ {
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 AddRemoveLandscapesDialog::createDialogContent() void AddRemoveLandscapesDialog::createDialogContent()
{ {
ui->setupUi(dialog); ui->setupUi(dialog);
//Signals and slots //Signals and slots
connect(&StelApp::getInstance(), SIGNAL(languageChanged()), this, SL OT(languageChanged()));
connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ; connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ;
connect(ui->pushButtonBrowseForArchive, SIGNAL(clicked()), this, SLO T(browseForArchiveClicked())); connect(ui->pushButtonBrowseForArchive, SIGNAL(clicked()), this, SLO T(browseForArchiveClicked()));
connect(ui->listWidgetUserLandscapes, SIGNAL(currentRowChanged(int)) , this, SLOT(updateSidePane(int))); connect(ui->listWidgetUserLandscapes, SIGNAL(currentRowChanged(int)) , this, SLOT(updateSidePane(int)));
connect(ui->pushButtonRemove, SIGNAL(clicked()), this, SLOT(removeCl icked())); connect(ui->pushButtonRemove, SIGNAL(clicked()), this, SLOT(removeCl icked()));
connect(ui->pushButtonMessageOK, SIGNAL(clicked()), this, SLOT(messa geAcknowledged())); connect(ui->pushButtonMessageOK, SIGNAL(clicked()), this, SLOT(messa geAcknowledged()));
connect(landscapeManager, SIGNAL(landscapesChanged()), this, SLOT(po pulateLists())); connect(landscapeManager, SIGNAL(landscapesChanged()), this, SLOT(po pulateLists()));
connect(landscapeManager, SIGNAL(errorUnableToOpen(QString)), this, SLOT(messageUnableToOpen(QString))); connect(landscapeManager, SIGNAL(errorUnableToOpen(QString)), this, SLOT(messageUnableToOpen(QString)));
connect(landscapeManager, SIGNAL(errorNotArchive()), this, SLOT(mess ageNotArchive())); connect(landscapeManager, SIGNAL(errorNotArchive()), this, SLOT(mess ageNotArchive()));
 End of changes. 3 change blocks. 
2 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/