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

index 4e2b8140be36e9b6e4493310b01f0930eef5d3ff..63675a9ebd46921776c6e2619366f95e97919f48 100644 (file)
@@ -746,7 +746,7 @@ void HYBRIDPluginGUI_HypothesisCreator::checkVertexIsDefined()
                        (myEnfVertexWdg->NbObjects() == 0 && !myXCoord->GetString().isEmpty()
                                                          && !myYCoord->GetString().isEmpty()
                                                          && !myZCoord->GetString().isEmpty())));
-  emit vertexDefined(enfVertexIsDefined);
+  Q_EMIT vertexDefined(enfVertexIsDefined);
 }
 
 /** 
@@ -754,7 +754,7 @@ void HYBRIDPluginGUI_HypothesisCreator::checkVertexIsDefined()
 **/
 void HYBRIDPluginGUI_HypothesisCreator::checkEnfMeshIsDefined()
 {
-  emit enfMeshDefined( myEnfVertexWdg->NbObjects() != 0);
+  Q_EMIT enfMeshDefined( myEnfVertexWdg->NbObjects() != 0);
 }
 
 /** 
@@ -1382,7 +1382,7 @@ void HYBRIDPluginGUI_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);
@@ -1409,7 +1409,7 @@ void HYBRIDPluginGUI_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 9014cbddd1d095d5e7848e263298123583c1ba48..d5418f590be69d93b3d6534d68f91f5c5a6eb490 100644 (file)
@@ -187,7 +187,7 @@ protected:
   virtual QPixmap  icon() const;
   virtual QString  type() const;
 
-protected slots:
+protected Q_SLOTS:
   void                onToMeshHoles(bool);
   void                onDirBtnClicked();
   void                updateWidgets();
@@ -210,7 +210,7 @@ protected slots:
   //void                synchronizeEnforcedMesh();
   void                checkEnfMeshIsDefined();
   
-signals:
+Q_SIGNALS:
   void                vertexDefined(bool);
   void                enfMeshDefined(bool);