summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/kernel/tqpixmapcache.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commit03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch)
treecaabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/src/kernel/tqpixmapcache.cpp
parent0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff)
downloadtde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz
tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/src/kernel/tqpixmapcache.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/kernel/tqpixmapcache.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/experimental/tqtinterface/qt4/src/kernel/tqpixmapcache.cpp b/experimental/tqtinterface/qt4/src/kernel/tqpixmapcache.cpp
index 6724d82dd..e42ec382d 100644
--- a/experimental/tqtinterface/qt4/src/kernel/tqpixmapcache.cpp
+++ b/experimental/tqtinterface/qt4/src/kernel/tqpixmapcache.cpp
@@ -58,7 +58,7 @@
This class is a tool for optimized drawing with TQPixmap. You can
use it to store temporary pixmaps that are expensive to generate
without using more storage space than cacheLimit(). Use insert()
- to insert pixmaps, tqfind() to tqfind them and clear() to empty the
+ to insert pixmaps, find() to find them and clear() to empty the
cache.
For example, TQRadioButton has a non-trivial visual representation
@@ -75,7 +75,7 @@
radio button. All radio buttons in the program share the cached
pixmap since TQPixmapCache is application-global.
- TQPixmapCache tqcontains no member data, only static functions to
+ TQPixmapCache contains no member data, only static functions to
access the global pixmap cache. It creates an internal TQCache for
caching the pixmaps.
@@ -171,13 +171,13 @@ static TQSingleCleanupHandler<TQPMCache> qpm_cleanup_cache;
\warning If valid, you should copy the pixmap immediately (this is
fast). Subsequent insertions into the cache could cause the
pointer to become invalid. For this reason, we recommend you use
- tqfind(const TQString&, TQPixmap&) instead.
+ find(const TQString&, TQPixmap&) instead.
Example:
\code
TQPixmap* pp;
TQPixmap p;
- if ( (pp=TQPixmapCache::tqfind("my_big_image", pm)) ) {
+ if ( (pp=TQPixmapCache::find("my_big_image", pm)) ) {
p = *pp;
} else {
p.load("bigimage.png");
@@ -187,9 +187,9 @@ static TQSingleCleanupHandler<TQPMCache> qpm_cleanup_cache;
\endcode
*/
-TQPixmap *TQPixmapCache::tqfind( const TQString &key )
+TQPixmap *TQPixmapCache::find( const TQString &key )
{
- return pm_cache ? pm_cache->tqfind(key) : 0;
+ return pm_cache ? pm_cache->find(key) : 0;
}
@@ -203,7 +203,7 @@ TQPixmap *TQPixmapCache::tqfind( const TQString &key )
Example:
\code
TQPixmap p;
- if ( !TQPixmapCache::tqfind("my_big_image", pm) ) {
+ if ( !TQPixmapCache::find("my_big_image", pm) ) {
pm.load("bigimage.png");
TQPixmapCache::insert("my_big_image", pm);
}
@@ -211,9 +211,9 @@ TQPixmap *TQPixmapCache::tqfind( const TQString &key )
\endcode
*/
-bool TQPixmapCache::tqfind( const TQString &key, TQPixmap& pm )
+bool TQPixmapCache::find( const TQString &key, TQPixmap& pm )
{
- TQPixmap* p = pm_cache ? pm_cache->tqfind(key) : 0;
+ TQPixmap* p = pm_cache ? pm_cache->find(key) : 0;
if ( p ) pm = *p;
return !!p;
}