typedef QGraphicsPathItem Superclass;\r
\r
public:\r
- enum { Type = QGraphicsItem::UserType + 2 };\r
+ enum { Type = QGraphicsItem::UserType + 5 };\r
\r
QNEConnection( QGraphicsItem* parent = 0, QGraphicsScene* scene = 0 );\r
virtual ~QNEConnection( );\r
QNEPort* port1( ) const;\r
QNEPort* port2( ) const;\r
\r
- void save( QDataStream& ds );\r
- void load( QDataStream& ds, const QMap< quint64, QNEPort* >& portMap );\r
-\r
- int type( ) const { return Type; }\r
+ inline int type( ) const\r
+ { return( this->Type ); }\r
\r
private:\r
QPointF m_Pos1;\r