#include "Dispatcher.h"
#include "Parameters.h"
#include "BoxItem.h"
-#include "SourceItem.h"
+#include "StimuliItem.h"
#include "AbstractBlock.h"
#include "AbstractInterface.h"
#include "ConnectedInterface.h"
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;
}