summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsqlrecord.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:43:03 +0900
commit6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch)
treeb029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqsqlrecord.3qt
parent81ade129093a279e6537db25710583fd2bba9427 (diff)
downloadtqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz
tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqsqlrecord.3qt')
-rw-r--r--doc/man/man3/tqsqlrecord.3qt22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqsqlrecord.3qt b/doc/man/man3/tqsqlrecord.3qt
index 241b7de35..9b68872a0 100644
--- a/doc/man/man3/tqsqlrecord.3qt
+++ b/doc/man/man3/tqsqlrecord.3qt
@@ -100,7 +100,7 @@ Inherited by QSqlCursor and QSqlIndex.
.BI "virtual void \fBclear\fR ()"
.br
.ti -1c
-.BI "virtual void \fBclearValues\fR ( bool nullify = FALSE )"
+.BI "virtual void \fBclearValues\fR ( bool nullify = false )"
.br
.ti -1c
.BI "uint \fBcount\fR () const"
@@ -137,10 +137,10 @@ Removes all the record's fields.
See also clearValues().
.PP
Reimplemented in QSqlCursor.
-.SH "void QSqlRecord::clearValues ( bool nullify = FALSE )\fC [virtual]\fR"
-Clears the value of all fields in the record. If \fInullify\fR is TRUE, (the default is FALSE), each field is set to NULL.
+.SH "void QSqlRecord::clearValues ( bool nullify = false )\fC [virtual]\fR"
+Clears the value of all fields in the record. If \fInullify\fR is true, (the default is false), each field is set to NULL.
.SH "bool QSqlRecord::contains ( const TQString & name ) const"
-Returns TRUE if there is a field in the record called \fIname\fR; otherwise returns FALSE.
+Returns true if there is a field in the record called \fIname\fR; otherwise returns false.
.SH "uint QSqlRecord::count () const"
Returns the number of fields in the record.
.SH "QSqlField * QSqlRecord::field ( int i )"
@@ -160,25 +160,25 @@ Returns the name of the field at position \fIi\fR. If the field does not exist,
.SH "void QSqlRecord::insert ( int pos, const QSqlField & field )\fC [virtual]\fR"
Insert a copy of \fIfield\fR at position \fIpos\fR. If a field already exists at \fIpos\fR, it is removed.
.SH "bool QSqlRecord::isEmpty () const"
-Returns TRUE if there are no fields in the record; otherwise returns FALSE.
+Returns true if there are no fields in the record; otherwise returns false.
.SH "bool QSqlRecord::isGenerated ( const TQString & name ) const"
-Returns TRUE if the record has a field called \fIname\fR and this field is to be generated (the default); otherwise returns FALSE.
+Returns true if the record has a field called \fIname\fR and this field is to be generated (the default); otherwise returns false.
.PP
See also setGenerated().
.SH "bool QSqlRecord::isGenerated ( int i ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Returns TRUE if the record has a field at position \fIi\fR and this field is to be generated (the default); otherwise returns FALSE.
+Returns true if the record has a field at position \fIi\fR and this field is to be generated (the default); otherwise returns false.
.PP
See also setGenerated().
.SH "bool QSqlRecord::isNull ( const TQString & name ) const"
-Returns TRUE if the field called \fIname\fR is NULL or if there is no field called \fIname\fR; otherwise returns FALSE.
+Returns true if the field called \fIname\fR is NULL or if there is no field called \fIname\fR; otherwise returns false.
.PP
See also position().
.SH "bool QSqlRecord::isNull ( int i ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Returns TRUE if the field \fIi\fR is NULL or if there is no field at position \fIi\fR; otherwise returns FALSE.
+Returns true if the field \fIi\fR is NULL or if there is no field at position \fIi\fR; otherwise returns false.
.PP
See also fieldName().
.SH "QSqlRecord & QSqlRecord::operator= ( const QSqlRecord & other )"
@@ -190,7 +190,7 @@ Removes the field at \fIpos\fR. If \fIpos\fR does not exist, nothing happens.
.PP
Reimplemented in QSqlCursor.
.SH "void QSqlRecord::setGenerated ( const TQString & name, bool generated )\fC [virtual]\fR"
-Sets the generated flag for the field called \fIname\fR to \fIgenerated\fR. If the field does not exist, nothing happens. Only fields that have \fIgenerated\fR set to TRUE are included in the SQL that is generated, e.g. by QSqlCursor.
+Sets the generated flag for the field called \fIname\fR to \fIgenerated\fR. If the field does not exist, nothing happens. Only fields that have \fIgenerated\fR set to true are included in the SQL that is generated, e.g. by QSqlCursor.
.PP
See also isGenerated().
.PP
@@ -227,7 +227,7 @@ Note that fields which are not generated are \fInot\fR included (see isGenerated
.SH "QStringList QSqlRecord::toStringList ( const TQString & prefix = TQString::null ) const\fC [virtual]\fR"
Returns a list of all the record's field names, each having the prefix \fIprefix\fR.
.PP
-Note that fields which have generated set to FALSE are \fInot\fR included. (See isGenerated()). If \fIprefix\fR is supplied, e.g. a table name, all fields are prefixed in the form:
+Note that fields which have generated set to false are \fInot\fR included. (See isGenerated()). If \fIprefix\fR is supplied, e.g. a table name, all fields are prefixed in the form:
.PP"
\fIprefix\fR.<fieldname>"
.SH "QVariant QSqlRecord::value ( int i ) const\fC [virtual]\fR"