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

index 7a902b043dc7c621202f11260bc618a5b950db02..f58275ca53abe652d350b4812a2b4b64caa1bf71 100755 (executable)
@@ -401,7 +401,7 @@ bool HEXABLOCKPluginGUI_HypothesisCreator::checkVertexIsDefined()
   if (val)
     isDefined = ! smpVertexExists(myXCoord->text().toDouble(),myYCoord->text().toDouble(),myZCoord->text().toDouble());
 
-  emit vertexDefined(isDefined);
+  Q_EMIT vertexDefined(isDefined);
   return isDefined;
 }
 
@@ -444,7 +444,7 @@ void HEXABLOCKPluginGUI_HypothesisCreator::onRemoveVertexBtnClicked()
     QList<QModelIndex> selectedIndex = myEnforcedTableView->selectionModel()->selectedIndexes();
     int row;
     QModelIndex index;
-    foreach( index, selectedIndex ) {
+    Q_FOREACH( index, selectedIndex ) {
         row = index.row();
         if ( !selectedRows.contains( row ) ) 
         selectedRows.append( row );
index 257194c1d1bc4595ede36630fb42aad06d8b8035..a3fb63e47dbab70ffbad6d8cdc815c4d4647b80d 100755 (executable)
@@ -90,14 +90,14 @@ protected:
   virtual QPixmap  icon() const;
   virtual QString  type() const;
 
-protected slots:
+protected Q_SLOTS:
   void                onDirBtnClicked();
   void                updateWidgets();
   void                onVertexBtnClicked();
   void                onRemoveVertexBtnClicked();
   bool                checkVertexIsDefined();
 
-signals:
+Q_SIGNALS:
   void                vertexDefined(bool);
 
 private: