diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqcache-h.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqcache-h.html')
-rw-r--r-- | doc/html/tqcache-h.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tqcache-h.html b/doc/html/tqcache-h.html index 7d81eea89..8bf7ebe29 100644 --- a/doc/html/tqcache-h.html +++ b/doc/html/tqcache-h.html @@ -90,8 +90,8 @@ class TQCache { public: TQCache( const TQCache<type> &c ) : TQGCache(c) {} - TQCache( int maxCost=100, int size=17, bool caseSensitive=TRUE ) - : TQGCache( maxCost, size, StringKey, caseSensitive, FALSE ) {} + TQCache( int maxCost=100, int size=17, bool caseSensitive=true ) + : TQGCache( maxCost, size, StringKey, caseSensitive, false ) {} ~TQCache() { clear(); } TQCache<type> &operator=( const TQCache<type> &c ) { return (TQCache<type>&)TQGCache::operator=(c); } @@ -108,7 +108,7 @@ public: { return TQGCache::remove_string(k); } type *take( const TQString &k ) { return (type *)TQGCache::take_string(k); } - type *find( const TQString &k, bool ref=TRUE ) const + type *find( const TQString &k, bool ref=true ) const { return (type *)TQGCache::find_string(k,ref);} type *operator[]( const TQString &k ) const { return (type *)TQGCache::find_string(k);} |