diff options
Diffstat (limited to 'doc/man/man3/tqpixmapcache.3qt')
-rw-r--r-- | doc/man/man3/tqpixmapcache.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqpixmapcache.3qt b/doc/man/man3/tqpixmapcache.3qt index 7054206ec..a7d4ed5d0 100644 --- a/doc/man/man3/tqpixmapcache.3qt +++ b/doc/man/man3/tqpixmapcache.3qt @@ -69,7 +69,7 @@ Example: .SH "bool TQPixmapCache::find ( const TQString & key, TQPixmap & pm )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Looks for a cached pixmap associated with the \fIkey\fR in the cache. If a pixmap is found, the function sets \fIpm\fR to that pixmap and returns TRUE; otherwise leaves \fIpm\fR alone and returns FALSE. +Looks for a cached pixmap associated with the \fIkey\fR in the cache. If a pixmap is found, the function sets \fIpm\fR to that pixmap and returns true; otherwise leaves \fIpm\fR alone and returns false. .PP Example: .PP @@ -101,13 +101,13 @@ See also setCacheLimit(). .SH "bool TQPixmapCache::insert ( const TQString & key, TQPixmap * pm )\fC [static]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP -Inserts the pixmap \fIpm\fR associated with \fIkey\fR into the cache. Returns TRUE if successful, or FALSE if the pixmap is too big for the cache. +Inserts the pixmap \fIpm\fR associated with \fIkey\fR into the cache. Returns true if successful, or false if the pixmap is too big for the cache. .PP \fB Note: \fIpm\fR must be allocated on the heap (using \fCnew\fR). .PP -If this function returns FALSE, you must delete \fIpm\fR yourself. +If this function returns false, you must delete \fIpm\fR yourself. .PP -If this function returns TRUE, do not use \fIpm\fR afterwards or keep references to it because any other insertions into the cache, whether from anywhere in the application or within TQt itself, could cause the pixmap to be discarded from the cache and the pointer to become invalid. +If this function returns true, do not use \fIpm\fR afterwards or keep references to it because any other insertions into the cache, whether from anywhere in the application or within TQt itself, could cause the pixmap to be discarded from the cache and the pointer to become invalid. .PP Due to these dangers, we strongly recommend that you use insert(const TQString&, const TQPixmap&) instead. \fR .SH "void TQPixmapCache::remove ( const TQString & key )\fC [static]\fR" |