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

Private GIT Repository
started top group gen, added project subdirs
[blast.git] / InterfaceItem.h
index ef3b58d4c6ab4e41193fcff04bca65900a7b58ef..77ddf72d06334fd8bc8265f76d043c8d3dbfef25 100644 (file)
@@ -38,8 +38,9 @@ public:
   inline int getNameWidth() { return nameWidth; }
   inline int getNameHeight() { return nameHeight; }
   QString getStrOrientation();
-  static int getIntOrientation(QString str);
-  QPointF getEndPointInGroup();
+  static int getIntOrientation(QString str);  
+  QPointF getEndPosition();
+  QPointF getStartPosition();
 
   // setters
   void setOriginPoint();
@@ -49,11 +50,9 @@ public:
 
   // others
   void addConnectionItem(ConnectionItem* item);
-  void removeConnectionItem(ConnectionItem* item);
-  bool canConnectWith(InterfaceItem* iface);
-  bool connectWith(InterfaceItem* iface);
-  void unconnectTo(InterfaceItem *iface);
+  void removeConnectionItem(ConnectionItem* item);  
   void updatePosition();
+  void updateName(QString name);
 
   AbstractBoxItem* owner;
   ConnectedInterface* refInter;