NAME

Qt::Sql::QSqlField

PUBLIC METHODS

QSqlField(const QSqlField & other)
QSqlField(const QString & fieldName, QVariant::Type type = QVariant::Invalid)
QSqlField(const QString & fieldName, QVariant::Type type)
QSqlField(const QString & fieldName = QString(), QVariant::Type type = QVariant::Invalid)
QSqlField(const QString & fieldName, QVariant::Type type = QVariant::Invalid)
~QSqlField()
void clear()
QVariant defaultValue()
bool isAutoValue()
bool isGenerated()
bool isNull()
bool isReadOnly()
bool isValid()
int length()
QString name()
bool operator!=(const QSqlField & other)
QSqlField & operator=(const QSqlField & other)
bool operator==(const QSqlField & other)
int precision()
QSqlField::RequiredStatus requiredStatus()
void setAutoValue(bool autoVal)
void setDefaultValue(const QVariant & value)
void setGenerated(bool gen)
void setLength(int fieldLength)
void setName(const QString & name)
void setPrecision(int precision)
void setReadOnly(bool readOnly)
void setRequired(bool required)
void setRequiredStatus(QSqlField::RequiredStatus status)
void setSqlType(int type)
void setType(QVariant::Type type)
void setValue(const QVariant & value)
QVariant::Type type()
int typeID()
QVariant value()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html