From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqsqlrecord.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'doc/html/tqsqlrecord.html') diff --git a/doc/html/tqsqlrecord.html b/doc/html/tqsqlrecord.html index 969840d66..55e9384cf 100644 --- a/doc/html/tqsqlrecord.html +++ b/doc/html/tqsqlrecord.html @@ -66,7 +66,7 @@ set of database fields.
  • bool isEmpty () const
  • bool contains ( const TQString & name ) const
  • virtual void clear ()
  • -
  • virtual void clearValues ( bool nullify = FALSE )
  • +
  • virtual void clearValues ( bool nullify = false )
  • uint count () const
  • virtual TQString toString ( const TQString & prefix = TQString::null, const TQString & sep = "," ) const
  • virtual TQStringList toStringList ( const TQString & prefix = TQString::null ) const
  • @@ -113,15 +113,15 @@ Removes all the record's fields.

    See also clearValues().

    Reimplemented in TQSqlCursor. -

    void TQSqlRecord::clearValues ( bool nullify = FALSE ) [virtual] +

    void TQSqlRecord::clearValues ( bool nullify = false ) [virtual]

    Clears the value of all fields in the record. If nullify is -TRUE, (the default is FALSE), each field is set to NULL. +true, (the default is false), each field is set to NULL.

    bool TQSqlRecord::contains ( const TQString & name ) const

    -Returns TRUE if there is a field in the record called name; -otherwise returns FALSE. +Returns true if there is a field in the record called name; +otherwise returns false.

    uint TQSqlRecord::count () const

    @@ -160,33 +160,33 @@ exists at pos, it is removed.

    bool TQSqlRecord::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.

    bool TQSqlRecord::isGenerated ( const TQString & name ) const

    -Returns TRUE if the record has a field called name and this -field is to be generated (the default); otherwise returns FALSE. +Returns true if the record has a field called name and this +field is to be generated (the default); otherwise returns false.

    See also setGenerated().

    bool TQSqlRecord::isGenerated ( int i ) const

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Returns TRUE if the record has a field at position i and this -field is to be generated (the default); otherwise returns FALSE. +

    Returns true if the record has a field at position i and this +field is to be generated (the default); otherwise returns false.

    See also setGenerated().

    bool TQSqlRecord::isNull ( const TQString & name ) const

    -Returns TRUE if the field called name is NULL or if there is no -field called name; otherwise returns FALSE. +Returns true if the field called name is NULL or if there is no +field called name; otherwise returns false.

    See also position().

    bool TQSqlRecord::isNull ( int i ) const

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Returns TRUE if the field i is NULL or if there is no field at -position i; otherwise returns FALSE. +

    Returns true if the field i is NULL or if there is no field at +position i; otherwise returns false.

    See also fieldName().

    TQSqlRecord & TQSqlRecord::operator= ( const TQSqlRecord & other ) @@ -209,7 +209,7 @@ happens.

    void TQSqlRecord::setGenerated ( const TQString & name, bool generated ) [virtual]

    Sets the generated flag for the field called name to generated. If the field does not exist, nothing happens. Only -fields that have generated set to TRUE are included in the SQL +fields that have generated set to true are included in the SQL that is generated, e.g. by TQSqlCursor.

    See also isGenerated(). @@ -258,7 +258,7 @@ e.g. a table name, all fields are prefixed in the form: Returns a list of all the record's field names, each having the prefix prefix. -

    Note that fields which have generated set to FALSE are not +

    Note that fields which have generated set to false are not included. (See isGenerated()). If prefix is supplied, e.g. a table name, all fields are prefixed in the form:

    "prefix.<fieldname>" -- cgit v1.2.3