template<class type, class allocator>
bool FX::QPtrList< type, allocator >::removeRef ( const type *  d  )  [inline, inherited]

Removes the specified item d via pointer compare (quicker).

Reimplemented in FX::QSortedList< type, allocator >.

Definition at line 131 of file qptrlist.h.

References FX::QPtrList< type, allocator >::deleteItem().

00132     {
00133         for(typename Base::iterator it=Base::begin(); it!=Base::end(); ++it)
00134         {
00135             if(*it==d)
00136             {
00137                 deleteItem(*it);
00138                 Base::erase(it);
00139                 return true;
00140             }
00141         }
00142         return false;
00143     }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:43 2009 for TnFOX by doxygen v1.4.7