+// -------------------------------------------------------------------------\r
+bool PipelineEditor::QNEBlock::\r
+extendInputPort( const QString& txt, QNEConnection* conn )\r
+{\r
+ auto p = this->m_InputPorts.find( txt.toStdString( ) );\r
+ auto i = this->m_ExtInputPorts.find( txt.toStdString( ) );\r
+ if( p != this->m_InputPorts.end( ) && i == this->m_ExtInputPorts.end( ) )\r
+ {\r
+ this->m_ExtInputPorts[ txt.toStdString( ) ] = conn;\r
+ return( true );\r
+ }\r
+ else\r
+ return( false );\r
+}\r
+\r
+// -------------------------------------------------------------------------\r
+bool PipelineEditor::QNEBlock::\r
+extendOutputPort( const QString& txt, QNEConnection* conn )\r
+{\r
+ auto p = this->m_OutputPorts.find( txt.toStdString( ) );\r
+ auto i = this->m_ExtOutputPorts.find( txt.toStdString( ) );\r
+ if( p != this->m_OutputPorts.end( ) && i == this->m_ExtOutputPorts.end( ) )\r
+ {\r
+ this->m_ExtOutputPorts[ txt.toStdString( ) ] = conn;\r
+ return( true );\r
+ }\r
+ else\r
+ return( false );\r
+}\r
+\r