AddRemoveLandscapesDialog.cpp   AddRemoveLandscapesDialog.cpp 
skipping to change at line 35 skipping to change at line 35
#include "StelApp.hpp" #include "StelApp.hpp"
#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()
{ {
dialogName = "AddRemoveLandscapes";
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;
} }
skipping to change at line 59 skipping to change at line 60
} }
// 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(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->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()));
connect(landscapeManager, SIGNAL(errorNotUnique(QString)), this, SLO T(messageNotUnique(QString))); connect(landscapeManager, SIGNAL(errorNotUnique(QString)), this, SLO T(messageNotUnique(QString)));
 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/