Logo Search packages:      
Sourcecode: ktechlab version File versions

void VariableLabel::setRegister ( RegisterInfo info,
const QString &  name 

Sets the register that this label is displaying the value of.

Definition at line 37 of file variablelabel.cpp.

References updateText().

      if ( !info )
      m_value = -1;
      m_pRegisterInfo = info;
      m_registerName = name;
      connect( m_pRegisterInfo, SIGNAL(destroyed()), this, SLOT(hide()) );
      connect( m_pRegisterInfo, SIGNAL(valueChanged(unsigned)), this, SLOT(updateText()) );

Generated by  Doxygen 1.6.0   Back to index