summaryrefslogtreecommitdiffstats
path: root/doc/tqdict.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tqdict.doc')
-rw-r--r--doc/tqdict.doc22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/tqdict.doc b/doc/tqdict.doc
index 0dffb2032..c42c9b05f 100644
--- a/doc/tqdict.doc
+++ b/doc/tqdict.doc
@@ -77,12 +77,12 @@
Items are removed with remove(). All the items in a dictionary can
be removed with clear(). The number of items in the dictionary is
returned by count(). If the dictionary contains no items isEmpty()
- returns TRUE. You can change an item's value with replace(). Items
+ returns true. You can change an item's value with replace(). Items
are looked up with operator[](), or with find() which return a
pointer to the value or 0 if the given key does not exist. You can
take an item out of the dictionary with take().
- Calling setAutoDelete(TRUE) for a dictionary tells it to delete
+ Calling setAutoDelete(true) for a dictionary tells it to delete
items that are removed. The default behaviour is not to delete
items when they are removed.
@@ -141,7 +141,7 @@
\code
TQStringList styleList = TQStyleFactory::styles();
styleList.sort();
- TQDict<int> letterDict( 17, FALSE );
+ TQDict<int> letterDict( 17, false );
for ( TQStringList::Iterator it = styleList.begin(); it != styleList.end(); ++it ) {
TQString styleName = *it;
TQString styleAccel = styleName;
@@ -195,7 +195,7 @@
entries). This makes the hash distribution better which will lead
to faster lookup.
- If \a caseSensitive is TRUE (the default), keys which differ only
+ If \a caseSensitive is true (the default), keys which differ only
by case are considered different.
*/
@@ -212,7 +212,7 @@
\fn TQDict::~TQDict()
Removes all items from the dictionary and destroys it. If
- setAutoDelete() is TRUE, each value is deleted. All iterators that
+ setAutoDelete() is true, each value is deleted. All iterators that
access this dictionary will be reset.
\sa setAutoDelete()
@@ -257,8 +257,8 @@
/*!
\fn bool TQDict::isEmpty() const
- Returns TRUE if the dictionary is empty, i.e. count() == 0;
- otherwise returns FALSE.
+ Returns true if the dictionary is empty, i.e. count() == 0;
+ otherwise returns false.
\sa count()
*/
@@ -303,9 +303,9 @@
/*!
\fn bool TQDict::remove( const TQString &key )
- Removes the item with \a key from the dictionary. Returns TRUE if
+ Removes the item with \a key from the dictionary. Returns true if
successful, i.e. if the item is in the dictionary; otherwise
- returns FALSE.
+ returns false.
If there are two or more items with equal keys, then the last item
that was inserted will be removed.
@@ -485,8 +485,8 @@
/*!
\fn bool TQDictIterator::isEmpty() const
- Returns TRUE if the dictionary is empty, i.e. count() == 0;
- otherwise returns FALSE.
+ Returns true if the dictionary is empty, i.e. count() == 0;
+ otherwise returns false.
\sa count()
*/