summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqasciidict.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqasciidict.3qt')
-rw-r--r--doc/man/man3/tqasciidict.3qt18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqasciidict.3qt b/doc/man/man3/tqasciidict.3qt
index f82b7a39d..59ed1e9d0 100644
--- a/doc/man/man3/tqasciidict.3qt
+++ b/doc/man/man3/tqasciidict.3qt
@@ -16,7 +16,7 @@ Inherits TQPtrCollection.
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBTQAsciiDict\fR ( int size = 17, bool caseSensitive = TRUE, bool copyKeys = TRUE )"
+.BI "\fBTQAsciiDict\fR ( int size = 17, bool caseSensitive = true, bool copyKeys = true )"
.br
.ti -1c
.BI "\fBTQAsciiDict\fR ( const TQAsciiDict<type> & dict )"
@@ -137,14 +137,14 @@ See TQDict for full details, including the choice of dictionary size, and how de
.PP
See also TQAsciiDictIterator, TQDict, TQIntDict, TQPtrDict, Collection Classes, Collection Classes, and Non-GUI Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "TQAsciiDict::TQAsciiDict ( int size = 17, bool caseSensitive = TRUE, bool copyKeys = TRUE )"
+.SH "TQAsciiDict::TQAsciiDict ( int size = 17, bool caseSensitive = true, bool copyKeys = true )"
Constructs a dictionary optimized for less than \fIsize\fR entries.
.PP
We recommend setting \fIsize\fR to a suitably large prime number (a bit larger than the expected number of entries). This makes the hash distribution better and will improve lookup performance.
.PP
-When \fIcaseSensitive\fR is TRUE (the default) TQAsciiDict treats" abc" and "Abc" as different keys; when it is FALSE "abc" and" Abc" are the same. Case-insensitive comparison only considers the 26 letters in US-ASCII.
+When \fIcaseSensitive\fR is true (the default) TQAsciiDict treats" abc" and "Abc" as different keys; when it is false "abc" and" Abc" are the same. Case-insensitive comparison only considers the 26 letters in US-ASCII.
.PP
-If \fIcopyKeys\fR is TRUE (the default), the dictionary copies keys using strcpy(); if it is FALSE, the dictionary just copies the pointers.
+If \fIcopyKeys\fR is true (the default), the dictionary copies keys using strcpy(); if it is false, the dictionary just copies the pointers.
.SH "TQAsciiDict::TQAsciiDict ( const TQAsciiDict<type> & dict )"
Constructs a copy of \fIdict\fR.
.PP
@@ -158,7 +158,7 @@ All iterators that access this dictionary will be reset.
.PP
See also setAutoDelete().
.SH "bool TQPtrCollection::autoDelete () const"
-Returns the setting of the auto-delete option. The default is FALSE.
+Returns the setting of the auto-delete option. The default is false.
.PP
See also setAutoDelete().
.SH "void TQAsciiDict::clear ()\fC [virtual]\fR"
@@ -196,7 +196,7 @@ Multiple items can have the same key, in which case only the last item will be a
.PP
See also replace().
.SH "bool TQAsciiDict::isEmpty () const"
-Returns TRUE if the dictionary is empty, i.e. count() == 0; otherwise it returns FALSE.
+Returns true if the dictionary is empty, i.e. count() == 0; otherwise it returns false.
.PP
See also count().
.SH "TQAsciiDict<type> & TQAsciiDict::operator= ( const TQAsciiDict<type> & dict )"
@@ -220,7 +220,7 @@ The default implementation sets \fIitem\fR to 0.
.PP
See also write().
.SH "bool TQAsciiDict::remove ( const char * key )"
-Removes the item associated with \fIkey\fR from the dictionary. Returns TRUE if successful, i.e. if the key existed in the dictionary; otherwise returns FALSE.
+Removes the item associated with \fIkey\fR from the dictionary. Returns true if successful, i.e. if the key existed in the dictionary; otherwise returns false.
.PP
If there are two or more items with equal keys, then the most recently inserted item will be removed.
.PP
@@ -258,11 +258,11 @@ See also insert().
.SH "void TQAsciiDict::resize ( uint newsize )"
Changes the size of the hashtable to \fInewsize\fR. The contents of the dictionary are preserved but all iterators on the dictionary become invalid.
.SH "void TQPtrCollection::setAutoDelete ( bool enable )"
-Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE.
+Sets the collection to auto-delete its contents if \fIenable\fR is true and to never delete them if \fIenable\fR is false.
.PP
If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items.
.PP
-The default setting is FALSE, for safety. If you turn it on, be careful about copying the collection - you might find yourself with two collections deleting the same items.
+The default setting is false, for safety. If you turn it on, be careful about copying the collection - you might find yourself with two collections deleting the same items.
.PP
Note that the auto-delete setting may also affect other functions in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item.
.PP