From ec979ff2b8945fd8ca262f72b78128b45e899818 Mon Sep 17 00:00:00 2001 From: Damien Dupuis Date: Thu, 14 Oct 2010 09:32:53 +0000 Subject: [PATCH] Need to to take into account the new signals confOk() and needRestart() --- vlsisapd/src/configuration/src/ConfigurationDialog.cpp | 7 ++++--- .../src/vlsisapd/configuration/ConfigurationDialog.h | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/vlsisapd/src/configuration/src/ConfigurationDialog.cpp b/vlsisapd/src/configuration/src/ConfigurationDialog.cpp index fc5a22ab..fe6cba60 100644 --- a/vlsisapd/src/configuration/src/ConfigurationDialog.cpp +++ b/vlsisapd/src/configuration/src/ConfigurationDialog.cpp @@ -38,9 +38,10 @@ ConfigurationDialog::ConfigurationDialog(QWidget* parent): QDialog(parent) { setWindowTitle("Configure window"); ConfigurationWidget* confWidget = Configuration::get()->buildWidget(ConfigurationWidget::StandAlone); - connect(confWidget , SIGNAL(checkOk()), this, SLOT(close())); - connect(confWidget->getCancelButton(), SIGNAL(clicked()), this, SLOT(close())); - connect(confWidget->getSaveButton() , SIGNAL(clicked()), this, SIGNAL(saveToFile())); + connect(confWidget , SIGNAL(confOk()) , this, SLOT(close())); + connect(confWidget->getCancelButton(), SIGNAL(clicked()) , this, SLOT(close())); + connect(confWidget->getSaveButton() , SIGNAL(clicked()) , this, SIGNAL(saveToFile())); + connect(confWidget , SIGNAL(needRestart()), this, SIGNAL(needRestart())); QVBoxLayout* vLayout = new QVBoxLayout (); vLayout->addWidget(confWidget); diff --git a/vlsisapd/src/configuration/src/vlsisapd/configuration/ConfigurationDialog.h b/vlsisapd/src/configuration/src/vlsisapd/configuration/ConfigurationDialog.h index 01698fb3..172f69b9 100644 --- a/vlsisapd/src/configuration/src/vlsisapd/configuration/ConfigurationDialog.h +++ b/vlsisapd/src/configuration/src/vlsisapd/configuration/ConfigurationDialog.h @@ -38,6 +38,7 @@ class ConfigurationDialog : public QDialog { signals: void saveToFile(); + void needRestart(); };