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/tqmap.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/html/tqmap.html') diff --git a/doc/html/tqmap.html b/doc/html/tqmap.html index 4c296c9a1..9343a813c 100644 --- a/doc/html/tqmap.html +++ b/doc/html/tqmap.html @@ -80,7 +80,7 @@ provides a dictionary.
  • TQValueList<Key> keys () const
  • TQValueList<T> values () const
  • bool isEmpty () const
  • -
  • iterator insert ( const Key & key, const T & value, bool overwrite = TRUE )
  • +
  • iterator insert ( const Key & key, const T & value, bool overwrite = true )
  • void remove ( iterator it )
  • void remove ( const Key & k )
  • @@ -358,8 +358,8 @@ dereferenceable; operator*() will not retu

    bool TQMap::contains ( const Key & k ) const

    -

    Returns TRUE if the map contains an item with key k; otherwise -returns FALSE. +

    Returns true if the map contains an item with key k; otherwise +returns false.

    size_type TQMap::count ( const key_type & k ) const

    @@ -387,8 +387,8 @@ implemented this way.

    bool TQMap::empty () const

    -

    Returns TRUE if the map contains no items; otherwise returns -FALSE. +

    Returns true if the map contains no items; otherwise returns +false.

    This function is provided for STL compatibility. It is equivalent to isEmpty().

    See also size(). @@ -439,13 +439,13 @@ map.

    Returns end() if no key matched.

    See also TQMapConstIterator. -

    iterator TQMap::insert ( const Key & key, const T & value, bool overwrite = TRUE ) +

    iterator TQMap::insert ( const Key & key, const T & value, bool overwrite = true )

    Inserts a new item with the key, key, and a value of value. If there is already an item whose key is key, that item's value -is replaced with value, unless overwrite is FALSE (it is -TRUE by default). In this case an iterator to this item is +is replaced with value, unless overwrite is false (it is +true by default). In this case an iterator to this item is returned, else an iterator to the new item is returned.

    TQPair<iterator, bool> TQMap::insert ( const value_type & x ) @@ -456,16 +456,16 @@ returned, else an iterator to the new item is returned. whose first element is a key to be inserted and whose second element is the associated value to be inserted. Returns a pair whose first element is an iterator pointing to the inserted -item and whose second element is a bool indicating TRUE if x -was inserted and FALSE if it was not inserted, e.g. because it was +item and whose second element is a bool indicating true if x +was inserted and false if it was not inserted, e.g. because it was already present.

    See also replace().

    bool TQMap::isEmpty () const

    -

    Returns TRUE if the map contains no items; otherwise returns -FALSE. +

    Returns true if the map contains no items; otherwise returns +false.

    See also count().

    TQValueList<Key> TQMap::keys () const -- cgit v1.2.3