summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsqlfieldinfo.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqsqlfieldinfo.3qt')
-rw-r--r--doc/man/man3/tqsqlfieldinfo.3qt18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqsqlfieldinfo.3qt b/doc/man/man3/tqsqlfieldinfo.3qt
index de45e194..755ffb2f 100644
--- a/doc/man/man3/tqsqlfieldinfo.3qt
+++ b/doc/man/man3/tqsqlfieldinfo.3qt
@@ -14,7 +14,7 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBTQSqlFieldInfo\fR ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
+.BI "\fBTQSqlFieldInfo\fR ( const TQString & name = TQString::null, TQVariant::Type typ = TQVariant::Invalid, int required = -1, int len = -1, int prec = -1, const TQVariant & defValue = TQVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
.br
.ti -1c
.BI "\fBTQSqlFieldInfo\fR ( const TQSqlFieldInfo & other )"
@@ -38,7 +38,7 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field
.BI "int \fBisRequired\fR () const"
.br
.ti -1c
-.BI "QVariant::Type \fBtype\fR () const"
+.BI "TQVariant::Type \fBtype\fR () const"
.br
.ti -1c
.BI "int \fBlength\fR () const"
@@ -47,7 +47,7 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field
.BI "int \fBprecision\fR () const"
.br
.ti -1c
-.BI "QVariant \fBdefaultValue\fR () const"
+.BI "TQVariant \fBdefaultValue\fR () const"
.br
.ti -1c
.BI "TQString \fBname\fR () const"
@@ -83,10 +83,10 @@ All values must be set in the constructor, and may be retrieved using isRequired
.PP
See also Database Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "TQSqlFieldInfo::TQSqlFieldInfo ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
+.SH "TQSqlFieldInfo::TQSqlFieldInfo ( const TQString & name = TQString::null, TQVariant::Type typ = TQVariant::Invalid, int required = -1, int len = -1, int prec = -1, const TQVariant & defValue = TQVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
Constructs a TQSqlFieldInfo with the following parameters: <center>.nf
.TS
-l - l. \fIname\fR the name of the field. \fItyp\fR the field's type in a QVariant. \fIrequired\fR greater than 0 if the field is required, 0 if its value can be NULL and less than 0 if it cannot be determined whether the field is required or not. \fIlen\fR the length of the field. Note that for non-character types some databases return either the length in bytes or the number of digits. -1 signifies that the length cannot be determined. \fIprec\fR the precision of the field, or -1 if the field has no precision or it cannot be determined. \fIdefValue\fR the default value that is inserted into the table if none is specified by the user. QVariant() if there is no default value or it cannot be determined. \fItypeID\fR the internal typeID of the database system (only useful for low-level programming). 0 if unknown. \fIgenerated\fR TRUE indicates that this field should be included in auto-generated SQL statments, e.g. in TQSqlCursor. \fItrim\fR TRUE indicates that widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. \fIcalculated\fR
+l - l. \fIname\fR the name of the field. \fItyp\fR the field's type in a TQVariant. \fIrequired\fR greater than 0 if the field is required, 0 if its value can be NULL and less than 0 if it cannot be determined whether the field is required or not. \fIlen\fR the length of the field. Note that for non-character types some databases return either the length in bytes or the number of digits. -1 signifies that the length cannot be determined. \fIprec\fR the precision of the field, or -1 if the field has no precision or it cannot be determined. \fIdefValue\fR the default value that is inserted into the table if none is specified by the user. TQVariant() if there is no default value or it cannot be determined. \fItypeID\fR the internal typeID of the database system (only useful for low-level programming). 0 if unknown. \fIgenerated\fR TRUE indicates that this field should be included in auto-generated SQL statments, e.g. in TQSqlCursor. \fItrim\fR TRUE indicates that widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. \fIcalculated\fR
.TE
.fi
</center>
@@ -96,8 +96,8 @@ Constructs a copy of \fIother\fR.
Creates a TQSqlFieldInfo object with the type and the name of the TQSqlField \fIother\fR. If \fIgenerated\fR is TRUE this field will be included in auto-generated SQL statments, e.g. in TQSqlCursor.
.SH "TQSqlFieldInfo::~TQSqlFieldInfo ()\fC [virtual]\fR"
Destroys the object and frees any allocated resources.
-.SH "QVariant TQSqlFieldInfo::defaultValue () const"
-Returns the field's default value or an empty QVariant if the field has no default value or the value couldn't be determined. The default value is the value inserted in the database when it is not explicitly specified by the user.
+.SH "TQVariant TQSqlFieldInfo::defaultValue () const"
+Returns the field's default value or an empty TQVariant if the field has no default value or the value couldn't be determined. The default value is the value inserted in the database when it is not explicitly specified by the user.
.SH "bool TQSqlFieldInfo::isCalculated () const"
Returns TRUE if the field is calculated; otherwise returns FALSE.
.PP
@@ -141,8 +141,8 @@ If \fItrim\fR is TRUE widgets should remove trailing whitespace from character f
See also isTrim().
.SH "TQSqlField TQSqlFieldInfo::toField () const"
Returns an empty TQSqlField based on the information in this TQSqlFieldInfo.
-.SH "QVariant::Type TQSqlFieldInfo::type () const"
-Returns the field's type or QVariant::Invalid if the type is unknown.
+.SH "TQVariant::Type TQSqlFieldInfo::type () const"
+Returns the field's type or TQVariant::Invalid if the type is unknown.
.SH "int TQSqlFieldInfo::typeID () const"
Returns the internal type identifier as returned from the database system. The return value is 0 if the type is unknown.
.PP