X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/d43174d0eb3d293b3bb5fbe76662241134e74d0d..df84660fd98b39737692d57b68c8b2c2d34af0f1:/InterfaceItem.h?ds=sidebyside diff --git a/InterfaceItem.h b/InterfaceItem.h index ef3b58d..77ddf72 100644 --- a/InterfaceItem.h +++ b/InterfaceItem.h @@ -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;