Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QValidator::State QAbstractSpinBox::validate ( QString input,
int &  pos 
) const [virtual]

This virtual function is called by the QAbstractSpinBox to determine whether input is valid. The pos parameter indicates the position in the string. Reimplemented in the various subclasses.

Reimplemented in QDateTimeEdit, QSpinBox, and QDoubleSpinBox.

Definition at line 499 of file qabstractspinbox.cpp.

Referenced by stepBy().

{
    return QValidator::Acceptable;
}


Generated by  Doxygen 1.6.0   Back to index