X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FcpPipelineEditor%2FQNEConnection.h;h=7e5a12e41a2a9415f8f6f8001e6ae05809e61556;hb=f4aeff15ebb41183d4b89f41b29ec26043848722;hp=54cdf84115644539f82967c55a748a9d64ad3590;hpb=9c75dcecf566cc567583caf4687ce523a2af586d;p=cpPlugins.git diff --git a/appli/cpPipelineEditor/QNEConnection.h b/appli/cpPipelineEditor/QNEConnection.h index 54cdf84..7e5a12e 100644 --- a/appli/cpPipelineEditor/QNEConnection.h +++ b/appli/cpPipelineEditor/QNEConnection.h @@ -43,7 +43,7 @@ namespace PipelineEditor typedef QGraphicsPathItem Superclass; public: - enum { Type = QGraphicsItem::UserType + 2 }; + enum { Type = QGraphicsItem::UserType + 5 }; QNEConnection( QGraphicsItem* parent = 0, QGraphicsScene* scene = 0 ); virtual ~QNEConnection( ); @@ -57,7 +57,8 @@ namespace PipelineEditor QNEPort* port1( ) const; QNEPort* port2( ) const; - int type( ) const { return Type; } + inline int type( ) const + { return( this->Type ); } private: QPointF m_Pos1;