]> Creatis software - cpPlugins.git/blobdiff - lib/cpPipelineEditor/Port.h
...
[cpPlugins.git] / lib / cpPipelineEditor / Port.h
index 0f64a4bd4b64e0f849137ae37e289dbff3359059..4daafd0b7a32e57f54b6fdacc485233dc0e2d595 100644 (file)
@@ -89,29 +89,6 @@ namespace cpPipelineEditor
     virtual void _updateLabels( );\r
   };\r
 \r
-  /**\r
-   */\r
-  class TypePort\r
-    : public Port\r
-  {\r
-  public:\r
-    typedef TypePort Self;\r
-    typedef Port     Superclass;\r
-\r
-    enum { Type = Superclass::Type + 2 };\r
-\r
-  public:\r
-    TypePort( QGraphicsItem* parent = NULL, QGraphicsScene* scene = NULL );\r
-    virtual ~TypePort( );\r
-\r
-    virtual bool isConnected( Port* other );\r
-    inline int type( ) const\r
-      { return( this->Type ); }\r
-\r
-  protected:\r
-    virtual void _updateLabels( );\r
-  };\r
-\r
   /**\r
    */\r
   class InputPort\r
@@ -179,6 +156,8 @@ namespace cpPipelineEditor
     QVariant itemChange( GraphicsItemChange change, const QVariant& value );\r
     virtual void _updateLabels( );\r
 \r
+    virtual void contextMenuEvent( QGraphicsSceneContextMenuEvent* evt );\r
+\r
   protected:\r
     QVector< Connection* > m_Connections;\r
   };\r