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

void QTodoTimeEdit::updateButtons (  )  [protected, slot]

For internal use only.

Enables/disables the push buttons according to the min/max time for this widget.

Definition at line 2921 of file qtodo_datetimeedit.cpp.

References maxValue, and minValue.

      if ( !isEnabled() )

      bool upEnabled = time() < maxValue();
      bool downEnabled = time() > minValue();

      d->controls->setUpEnabled( upEnabled );
      d->controls->setDownEnabled( downEnabled );

Generated by  Doxygen 1.6.0   Back to index