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

void CircuitDocument::update (  )  [virtual]

Called from Canvas (when QCanvas::advance is called).

Reimplemented from ItemDocument.

Definition at line 182 of file circuitdocument.cpp.

References ItemDocument::update().

{
      ICNDocument::update();
      
      if ( KTLConfig::showVoltageBars() )
      {
            NodeList::iterator end = m_nodeList.end();
            for ( NodeList::iterator it = m_nodeList.begin(); it != end; ++it )
            {
                  (static_cast<ECNode*>((Node*)*it))->setNodeChanged();
            }
      }
}


Generated by  Doxygen 1.6.0   Back to index