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

Private GIT Repository
adding link between ifaces and clk
[blast.git] / SourceItem.cpp
index d12284774bd426cddd9279284340bffef9384a11..0229e7f2d7117972b752f9cd0ba83883c940693e 100644 (file)
@@ -30,7 +30,7 @@ SourceItem::SourceItem(AbstractBlock *_refBlock,
   setZValue(100);
   setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemSendsGeometryChanges);
 
   setZValue(100);
   setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemSendsGeometryChanges);
 
-  initInterfaceItems();
+  createInterfaceItems();
   updateGeometry(InterfaceMove);
   resetInterfaceItemsPosition();
   QPointF initPos = QPointF(0.0,0.0) - originPoint;
   updateGeometry(InterfaceMove);
   resetInterfaceItemsPosition();
   QPointF initPos = QPointF(0.0,0.0) - originPoint;
@@ -679,7 +679,7 @@ void SourceItem::load(QDomElement funcElement) throw(Exception) {
   }
   
   // creating InterfaceItem
   }
   
   // creating InterfaceItem
-  initInterfaceItems();
+  createInterfaceItems();
   // setting them with saved values
   for(int i=0; i<interfaceNodes.length(); i++){
 
   // setting them with saved values
   for(int i=0; i<interfaceNodes.length(); i++){