this->_setTypePort( this->m_Filter->GetClassName( ) );\r
\r
// Add input ports\r
- std::set< std::string > inputs;\r
- this->m_Filter->GetInputsNames( inputs );\r
+ auto inputs = this->m_Filter->GetInputsNames( );\r
for( auto iIt = inputs.begin( ); iIt != inputs.end( ); ++iIt )\r
this->addInputPort( iIt->c_str( ) );\r
\r
// Add output ports\r
- std::set< std::string > outputs;\r
- this->m_Filter->GetOutputsNames( outputs );\r
+ auto outputs = this->m_Filter->GetOutputsNames( );\r
for( auto oIt = outputs.begin( ); oIt != outputs.end( ); ++oIt )\r
this->addOutputPort( oIt->c_str( ) );\r
}\r
void cpPipelineEditor::Block::\r
_setTypePort( const QString& txt )\r
{\r
- if( this->m_TypePort == NULL )\r
- this->m_TypePort = new TypePort( this );\r
- this->m_TypePort->setName( txt );\r
- this->_configPort( this->m_TypePort );\r
+ /* TODO\r
+ if( this->m_TypePort == NULL )\r
+ this->m_TypePort = new TypePort( this );\r
+ this->m_TypePort->setName( txt );\r
+ this->_configPort( this->m_TypePort );\r
+ */\r
+ this->setToolTip( txt );\r
}\r
\r
// -------------------------------------------------------------------------\r