template<class type, class allocator>
Removes the specified item d via compareItems() without auto-deletion.
Reimplemented in FX::QSortedList< type, allocator >. Definition at line 174 of file qptrlist.h. References FX::QPtrList< type, allocator >::compareItems(). 00175 { 00176 for(typename Base::iterator it=Base::begin(); it!=Base::end(); ++it) 00177 { 00178 if(0==compareItems(*it, const_cast<type *>(d))) 00179 { 00180 Base::erase(it); 00181 return true; 00182 } 00183 } 00184 return false; 00185 }
|