]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
Removed qt3 support and replaced qt macros imn/removed_qt3_support
authorimn <imn@opencascade.com>
Wed, 17 Sep 2014 09:34:36 +0000 (13:34 +0400)
committerimn <imn@opencascade.com>
Wed, 17 Sep 2014 09:34:36 +0000 (13:34 +0400)
src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx
src/GUI/GHS3DPluginGUI_HypothesisCreator.h

index b368961eab0e55488e999542c2aef3dbb0946269..246e181e9250db99eb45487da3489e1951e3787c 100644 (file)
@@ -675,7 +675,7 @@ void GHS3DPluginGUI_HypothesisCreator::checkVertexIsDefined()
                        (myEnfVertexWdg->NbObjects() == 0 && !myXCoord->GetString().isEmpty()
                                                          && !myYCoord->GetString().isEmpty()
                                                          && !myZCoord->GetString().isEmpty())));
-  emit vertexDefined(enfVertexIsDefined);
+  Q_EMIT vertexDefined(enfVertexIsDefined);
 }
 
 /** 
@@ -683,7 +683,7 @@ void GHS3DPluginGUI_HypothesisCreator::checkVertexIsDefined()
 **/
 void GHS3DPluginGUI_HypothesisCreator::checkEnfMeshIsDefined()
 {
-  emit enfMeshDefined( myEnfVertexWdg->NbObjects() != 0);
+  Q_EMIT enfMeshDefined( myEnfVertexWdg->NbObjects() != 0);
 }
 
 /** 
@@ -1312,7 +1312,7 @@ void GHS3DPluginGUI_HypothesisCreator::onRemoveEnforcedMesh()
   QList<QTableWidgetItem *> selectedItems = myEnforcedMeshTableWidget->selectedItems();
   QTableWidgetItem* item;
   int row;
-  foreach( item, selectedItems ) {
+  Q_FOREACH( item, selectedItems ) {
     row = item->row();
     if (!selectedRows.contains( row ) )
       selectedRows.append(row);
@@ -1339,7 +1339,7 @@ void GHS3DPluginGUI_HypothesisCreator::onRemoveEnforcedVertex()
   QList<QTableWidgetItem *> selectedItems = myEnforcedTableWidget->selectedItems();
   QTableWidgetItem* item;
   int row;
-  foreach( item, selectedItems ) {
+  Q_FOREACH( item, selectedItems ) {
     row = item->row();
     if (!selectedRows.contains( row ) )
       selectedRows.append(row);
index 8453f69f53d629dbb7a8cbf0ba5a728366285d3c..5140aff76b64cf78ee9ba396757551db7d09acab 100644 (file)
@@ -175,7 +175,7 @@ protected:
   virtual QPixmap  icon() const;
   virtual QString  type() const;
 
-protected slots:
+protected Q_SLOTS:
   void                onToMeshHoles(bool);
   void                onDirBtnClicked();
   void                updateWidgets();
@@ -198,7 +198,7 @@ protected slots:
   //void                synchronizeEnforcedMesh();
   void                checkEnfMeshIsDefined();
   
-signals:
+Q_SIGNALS:
   void                vertexDefined(bool);
   void                enfMeshDefined(bool);