]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/ydfx_gui/YDFXGUIPushButtons.cxx
Salome HOME
[PYTHON 3] WIP
[modules/yacs.git] / src / ydfx_gui / YDFXGUIPushButtons.cxx
index b76d3d6438e81b6e62a4cd32e359dfd412095f19..29b4972381a8ebd21520ab1925c1214734382d25 100644 (file)
 //
 // Author : Anthony Geay (EDF R&D)
 
+#include "YDFXGUIPyThreadSaver.hxx"
 #include "YDFXGUIPushButtons.hxx"
 
 #include "YDFXGUIWrap.hxx"
 #include "YDFXGUISeqInit.hxx"
-#include "YDFXGUIPyThreadSaver.hxx"
 #include "YDFXGUIHostParametrizer.hxx"
 
 #include "YACSEvalSession.hxx"
@@ -95,7 +95,7 @@ void YDFXGUISeqInitButton::sequenceInitRequested()
   if(dial.exec())
     {
       _state=zeWidget->saveState();
-      emit sequenceWellDefined(true);
+      Q_EMIT sequenceWellDefined(true);
     }
 }
 
@@ -111,7 +111,7 @@ void YDFXGUIRunInfo::startComputation()
   std::fill(_items.begin(),_items.end(),0);
   _computationInProgress=true;
   _mut.unlock();
-  emit somethingChanged();
+  Q_EMIT somethingChanged();
 }
 
 void YDFXGUIRunInfo::endComputation()
@@ -119,7 +119,7 @@ void YDFXGUIRunInfo::endComputation()
   _mut.lock();
   _computationInProgress=false;
   _mut.unlock();
-  emit somethingChanged();
+  Q_EMIT somethingChanged();
 }
 
 void YDFXGUIRunInfo::sampleOK(int pos)
@@ -127,7 +127,7 @@ void YDFXGUIRunInfo::sampleOK(int pos)
   _mut.lock();
   _items[pos]=1;
   _mut.unlock();
-  emit somethingChanged();
+  Q_EMIT somethingChanged();
 }
 
 void YDFXGUIRunInfo::sampleKO(int pos)
@@ -135,7 +135,7 @@ void YDFXGUIRunInfo::sampleKO(int pos)
   _mut.lock();
   _items[pos]=2;
   _mut.unlock();
-  emit somethingChanged();
+  Q_EMIT somethingChanged();
 }
 
 std::vector<char> YDFXGUIRunInfo::getItems() const