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

void DoubleSpinBox::checkIfChanged (  )  [protected, slot]

Checks if the value has changed - and if so, emits a valueChanged signal.

Definition at line 225 of file doublespinbox.cpp.

References value(), and valueChanged().

{
      double newValue = value();
      
      if ( m_lastEmittedValue == newValue )
            return;
      
      m_lastEmittedValue = newValue;
      emit valueChanged( m_lastEmittedValue );
}


Generated by  Doxygen 1.6.0   Back to index