]> Creatis software - cpPlugins.git/blobdiff - appli/cpPipelineEditor/QNEPort.h
...
[cpPlugins.git] / appli / cpPipelineEditor / QNEPort.h
index 638e4135311bf126670206450e76a569fb7e0e28..1f445d003c0aa1587eba25044172284451741246 100644 (file)
@@ -43,10 +43,10 @@ namespace PipelineEditor
     typedef QNEPort Self;\r
     typedef QGraphicsPathItem Superclass;\r
 \r
-  public:\r
     enum { Type = QGraphicsItem::UserType + 1 };\r
     enum { NamePort = 1, TypePort = 2 };\r
 \r
+  public:\r
     QNEPort( QGraphicsItem* parent = 0, QGraphicsScene* scene = NULL );\r
     virtual ~QNEPort( );\r
 \r
@@ -58,6 +58,11 @@ namespace PipelineEditor
     QVector< QNEConnection* >& connections( );\r
     void setPortFlags( int f );\r
 \r
+    QNEBlock* block( ) const;\r
+    quint64 ptr( );\r
+    void setPtr( quint64 p );\r
+    bool isConnected( QNEPort* other );\r
+\r
     inline const QString& portName( ) const\r
       { return( this->m_Name ); }\r
     inline int portFlags( ) const\r
@@ -65,11 +70,6 @@ namespace PipelineEditor
     int type( ) const\r
       { return( this->Type ); }\r
 \r
-    QNEBlock* block( ) const;\r
-    quint64 ptr( );\r
-    void setPtr( quint64 p );\r
-    bool isConnected( QNEPort* other );\r
-\r
   protected:\r
     QVariant itemChange( GraphicsItemChange change, const QVariant& value );\r
 \r