summaryrefslogtreecommitdiffstats
path: root/doc/html/qmap-h.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/qmap-h.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qmap-h.html')
-rw-r--r--doc/html/qmap-h.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/qmap-h.html b/doc/html/qmap-h.html
index 044433441..360036bfd 100644
--- a/doc/html/qmap-h.html
+++ b/doc/html/qmap-h.html
@@ -560,7 +560,7 @@ TQ_INLINE_TEMPLATES TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::Iterator TQMapPrivate
// Search correct position in the tree
TQMapNodeBase* y = header;
TQMapNodeBase* x = header-&gt;parent;
- bool result = TRUE;
+ bool result = true;
while ( x != 0 ) {
result = ( k &lt; key(x) );
y = x;
@@ -760,14 +760,14 @@ public:
bool isEmpty() const { return sh-&gt;node_count == 0; }
- iterator insert( const Key&amp; key, const T&amp; value, bool overwrite = TRUE );
+ iterator insert( const Key&amp; key, const T&amp; value, bool overwrite = true );
void remove( iterator it ) { detach(); sh-&gt;remove( it ); }
void remove( const Key&amp; k );
#if defined(TQ_FULL_TEMPLATE_INSTANTIATION)
- bool operator==( const TQMap&lt;Key,T&gt;&amp; ) const { return FALSE; }
+ bool operator==( const TQMap&lt;Key,T&gt;&amp; ) const { return false; }
#ifndef TQT_NO_STL
- bool operator==( const std::map&lt;Key,T&gt;&amp; ) const { return FALSE; }
+ bool operator==( const std::map&lt;Key,T&gt;&amp; ) const { return false; }
#endif
#endif
@@ -800,9 +800,9 @@ TQ_INLINE_TEMPLATES TQ_TYPENAME TQMap&lt;Key,T&gt;::insert_pair TQMap&lt;Key,T&g
detach();
size_type n = size();
iterator it = sh-&gt;insertSingle( x.first );
- bool inserted = FALSE;
+ bool inserted = false;
if ( n &lt; size() ) {
- inserted = TRUE;
+ inserted = true;
it.data() = x.second;
}
return TQPair&lt;iterator,bool&gt;( it, inserted );