From eaa7ee2e0bbca40ba3173c4304f81957e8964291 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 9 Aug 2011 22:25:47 -0500 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains --- tqtinterface/qt4/src/tools/tqptrdict.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tqtinterface/qt4/src/tools/tqptrdict.h') 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); } -- cgit v1.2.1