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

Private GIT Repository
finished testbench generation
[blast.git] / ConnectionItem.h
index c64839f0c69cf0628a7ee01731aab0d9139c50bf..c4852c8be3dd617730ff3ebe23422fa576fcf3f9 100644 (file)
@@ -38,11 +38,10 @@ class ConnectionItem : public QGraphicsItem {
 
 public:
 
 
 public:
 
-  ConnectionItem(InterfaceItem* _iface1,
-                 InterfaceItem* _iface2,
+  ConnectionItem(InterfaceItem* _fromInterfaceItem,
+                 InterfaceItem* _toInterfaceItem,
                  Dispatcher* _dispatcher,
                  Dispatcher* _dispatcher,
-                 Parameters* _params,
-                 QGraphicsItem* _parent);
+                 Parameters* _params);
   ConnectionItem (const ConnectionItem & copy);
   ConnectionItem();
   ~ConnectionItem();
   ConnectionItem (const ConnectionItem & copy);
   ConnectionItem();
   ~ConnectionItem();
@@ -67,6 +66,7 @@ public:
   
   // testers
   inline bool isSelected() { return selected; }
   
   // testers
   inline bool isSelected() { return selected; }
+  inline bool isVisible() { return visible; }
   
   // others
   void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
   
   // others
   void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);