]> AND Private Git Repository - blast.git/blobdiff - GroupItem.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
started clkconvert output gen
[blast.git] / GroupItem.cpp
index 385b352e3e86d4373257005db1800a8d63871f96..f275f8ebc25865556bfce20b001e99612cf1d720 100644 (file)
@@ -5,7 +5,7 @@
 #include "Dispatcher.h"
 #include "Parameters.h"
 #include "BoxItem.h"
 #include "Dispatcher.h"
 #include "Parameters.h"
 #include "BoxItem.h"
-#include "SourceItem.h"
+#include "StimuliItem.h"
 #include "AbstractBlock.h"
 #include "AbstractInterface.h"
 #include "ConnectedInterface.h"
 #include "AbstractBlock.h"
 #include "AbstractInterface.h"
 #include "ConnectedInterface.h"
@@ -430,7 +430,7 @@ void GroupItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event) {
     if (refBlock->isTopGroupBlock()) {
       QRectF rectGroup = boundingRectInScene();
       rectGroup.moveTo(rectGroup.x()+gapX,rectGroup.y()+gapY);
     if (refBlock->isTopGroupBlock()) {
       QRectF rectGroup = boundingRectInScene();
       rectGroup.moveTo(rectGroup.x()+gapX,rectGroup.y()+gapY);
-      foreach(SourceItem* source, getScene()->getSourceItems()) {
+      foreach(StimuliItem* source, getScene()->getSourceItems()) {
         QRectF rectSource = source->boundingRectInScene();
         if (rectGroup.intersects(rectSource)) canMove = false;
       }
         QRectF rectSource = source->boundingRectInScene();
         if (rectGroup.intersects(rectSource)) canMove = false;
       }