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/tqptrlist.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tqtinterface/qt4/src/tools/tqptrlist.h') diff --git a/tqtinterface/qt4/src/tools/tqptrlist.h b/tqtinterface/qt4/src/tools/tqptrlist.h index 2839df6..25f7e1b 100644 --- a/tqtinterface/qt4/src/tools/tqptrlist.h +++ b/tqtinterface/qt4/src/tools/tqptrlist.h @@ -95,14 +95,14 @@ public: type *takeNode( TQLNode *n ) { return (type *)TQGList::takeNode(n); } void clear() { TQGList::clear(); } void sort() { TQGList::sort(); } - int tqfind( const type *d ) { return TQGList::tqfind((TQPtrCollection::Item)d); } - int tqfindNext( const type *d ) { return TQGList::tqfind((TQPtrCollection::Item)d,FALSE); } - int tqfindRef( const type *d ) { return TQGList::tqfindRef((TQPtrCollection::Item)d); } - int tqfindNextRef( const type *d ){ return TQGList::tqfindRef((TQPtrCollection::Item)d,FALSE);} - uint tqcontains( const type *d ) const { return TQGList::tqcontains((TQPtrCollection::Item)d); } - uint tqcontainsRef( const type *d ) const - { return TQGList::tqcontainsRef((TQPtrCollection::Item)d); } - bool tqreplace( uint i, const type *d ) { return TQGList::tqreplaceAt( i, (TQPtrCollection::Item)d ); } + int find( const type *d ) { return TQGList::find((TQPtrCollection::Item)d); } + int findNext( const type *d ) { return TQGList::find((TQPtrCollection::Item)d,FALSE); } + int findRef( const type *d ) { return TQGList::findRef((TQPtrCollection::Item)d); } + int findNextRef( const type *d ){ return TQGList::findRef((TQPtrCollection::Item)d,FALSE);} + uint contains( const type *d ) const { return TQGList::contains((TQPtrCollection::Item)d); } + uint containsRef( const type *d ) const + { return TQGList::containsRef((TQPtrCollection::Item)d); } + bool replace( uint i, const type *d ) { return TQGList::replaceAt( i, (TQPtrCollection::Item)d ); } type *at( uint i ) { return (type *)TQGList::at(i); } type *tqat( uint i ) { return (type *)TQGList::at(i); } int at() const { return TQGList::at(); } -- cgit v1.2.3