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

QVariant::Type QSqlField::type (  )  const

Returns the field's type as stored in the database. Note that the actual value might have a different type, Numerical values that are too large to store in a long int or double are usually stored as strings to prevent precision loss.

See also:

Definition at line 384 of file qsqlfield.cpp.

Referenced by clear(), Q3SqlEditorFactory::createEditor(), and QSqlDriver::formatValue().

    return d->type;

Generated by  Doxygen 1.6.0   Back to index