template<class type, class allocator>
Returns the number of item d in the list via compareItems().
Definition at line 286 of file qptrlist.h. References FX::QPtrList< type, allocator >::compareItems(), and FX::QPtrList< type, allocator >::count(). 00287 { 00288 uint count=0; 00289 for(typename Base::iterator it=Base::begin(); it!=Base::end(); ++it) 00290 { 00291 if(0==compareItems(*it, d)) count++; 00292 } 00293 return count; 00294 }
|