template<class type, class allocator>
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 }
|