X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/e5af659f87bcb199d6a5f10f09b311138351d0f3..e0eaffd44fc9733bc230a803c80d8d5efd0faca6:/ConnectionItem.h diff --git a/ConnectionItem.h b/ConnectionItem.h index c64839f..c4852c8 100644 --- a/ConnectionItem.h +++ b/ConnectionItem.h @@ -38,11 +38,10 @@ class ConnectionItem : public QGraphicsItem { public: - ConnectionItem(InterfaceItem* _iface1, - InterfaceItem* _iface2, + ConnectionItem(InterfaceItem* _fromInterfaceItem, + InterfaceItem* _toInterfaceItem, Dispatcher* _dispatcher, - Parameters* _params, - QGraphicsItem* _parent); + Parameters* _params); ConnectionItem (const ConnectionItem & copy); ConnectionItem(); ~ConnectionItem(); @@ -67,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);