QtSql/qsqlfield.h Source File
Go to the documentation of this file.
54 class QSqlFieldPrivate;
64 QSqlField(
const QSqlField& other);
65 QSqlField&
operator=(
const QSqlField& other);
76 void setReadOnly(
bool readOnly);
77 bool isReadOnly()
const;
80 bool isAutoValue()
const;
83 void setRequiredStatus(RequiredStatus status);
85 { setRequiredStatus(required ? Required : Optional); }
86 void setLength(
int fieldLength);
87 void setPrecision(
int precision);
89 void setSqlType(
int type);
90 void setGenerated(
bool gen);
91 void setAutoValue(
bool autoVal);
93 RequiredStatus requiredStatus()
const;
95 int precision()
const;
98 bool isGenerated()
const;
102 inline QT3_SUPPORT
void setNull() { clear(); }
111 #ifndef QT_NO_DEBUG_STREAM
119 #endif // QSQLFIELD_H
GLuint GLuint GLsizei GLenum type
QSqlDatabase & operator=(const QSqlDatabase &other)
void setRequired(bool required)
bool operator==(const Attribute &cA, const AttributeInstance< type > &cB)
This operator compares the two attributes and NOT their values.
#define QT_BEGIN_NAMESPACE
bool operator!=(const QSqlField &other) const
GLuint GLsizei GLsizei * length
GLsizei const GLfloat * value
Q_SQL_EXPORT QDebug operator<<(QDebug, const QSqlField &)
GLuint const GLchar * name