diff options
Diffstat (limited to 'src/tools/tqgdict.cpp')
| -rw-r--r-- | src/tools/tqgdict.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/tqgdict.cpp b/src/tools/tqgdict.cpp index 894881a61..d810cbe0f 100644 --- a/src/tools/tqgdict.cpp +++ b/src/tools/tqgdict.cpp @@ -196,7 +196,7 @@ TQDataStream& TQGDict::write( TQDataStream &s, TQPtrCollection::Item ) const \a len is the initial size of the dictionary. The key type is \a kt which may be \c StringKey, \c AsciiKey, \c IntKey or \c PtrKey. The case-sensitivity of lookups is set with - \a caseSensitive. Keys are copied if \a copyKeys is TRUE. + \a caseSensitive. Keys are copied if \a copyKeys is true. */ TQGDict::TQGDict( uint len, KeyType kt, bool caseSensitive, bool copyKeys ) @@ -219,15 +219,15 @@ void TQGDict::init( uint len, KeyType kt, bool caseSensitive, bool copyKeys ) switch ( (keytype = (uint)kt) ) { case StringKey: cases = caseSensitive; - copyk = FALSE; + copyk = false; break; case AsciiKey: cases = caseSensitive; copyk = copyKeys; break; default: - cases = FALSE; - copyk = FALSE; + cases = false; + copyk = false; break; } } @@ -477,7 +477,7 @@ void TQGDict::resize( uint newsize ) TQ_CHECK_PTR( vec ); memset( (char*)vec, 0, vlen*sizeof(TQBaseBucket*) ); numItems = 0; - copyk = FALSE; + copyk = false; // Reinsert every item from vec, deleting vec as we go for ( uint index = 0; index < old_vlen; index++ ) { @@ -675,9 +675,9 @@ bool TQGDict::remove_string( const TQString &key, TQPtrCollection::Item item ) if ( n ) { deleteItem( n->getData() ); delete n; - return TRUE; + return true; } else { - return FALSE; + return false; } } |
