Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

void CNItem::removeDisplayText ( const QString &  id  )  [protected, inherited]

Remove the display text with the given id

Definition at line 575 of file cnitem.cpp.

Referenced by PICComponent::initPackage(), Multiplexer::initPins(), Demultiplexer::initPins(), DAC::initPins(), ADC::initPins(), ECSubcircuit::setNumExtCon(), and MultiInputGate::updateSymbolText().

{
      TextMap::iterator it = m_textMap.find(id);
      if ( it == m_textMap.end() )
      {
//          kdError() << "CNItem::removeDisplayText: Could not find text with id \""<<id<<"\""<<endl;
            return;
      }
      it.data()->updateConnectorPoints(false);
      delete it.data();
      m_textMap.remove(it);
}


Generated by  Doxygen 1.6.0   Back to index