X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/624231601a0f5daea9b8809993ad3503beafce4f..e0eaffd44fc9733bc230a803c80d8d5efd0faca6:/ConnectionItem.h?ds=sidebyside diff --git a/ConnectionItem.h b/ConnectionItem.h index 5548715..c4852c8 100644 --- a/ConnectionItem.h +++ b/ConnectionItem.h @@ -38,8 +38,8 @@ class ConnectionItem : public QGraphicsItem { public: - ConnectionItem(InterfaceItem* _iface1, - InterfaceItem* _iface2, + ConnectionItem(InterfaceItem* _fromInterfaceItem, + InterfaceItem* _toInterfaceItem, Dispatcher* _dispatcher, Parameters* _params); ConnectionItem (const ConnectionItem & copy); @@ -66,6 +66,7 @@ public: // testers inline bool isSelected() { return selected; } + inline bool isVisible() { return visible; } // others void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);