summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/tools/tqptrdict.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-08-09 22:25:47 -0500
committerTimothy Pearson <[email protected]>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/tools/tqptrdict.h
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/tools/tqptrdict.h')
-rw-r--r--tqtinterface/qt4/src/tools/tqptrdict.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/tools/tqptrdict.h b/tqtinterface/qt4/src/tools/tqptrdict.h
index 908907d..882872e 100644
--- a/tqtinterface/qt4/src/tools/tqptrdict.h
+++ b/tqtinterface/qt4/src/tools/tqptrdict.h
@@ -64,11 +64,11 @@ public:
bool isEmpty() const { return TQGDict::count() == 0; }
void insert( void *k, const type *d )
{ TQGDict::look_ptr(k,(Item)d,1); }
- void tqreplace( void *k, const type *d )
+ void replace( void *k, const type *d )
{ TQGDict::look_ptr(k,(Item)d,2); }
bool remove( void *k ) { return TQGDict::remove_ptr(k); }
type *take( void *k ) { return (type*)TQGDict::take_ptr(k); }
- type *tqfind( void *k ) const
+ type *find( void *k ) const
{ return (type *)((TQGDict*)this)->TQGDict::look_ptr(k,0,0); }
type *operator[]( void *k ) const
{ return (type *)((TQGDict*)this)->TQGDict::look_ptr(k,0,0); }