template<class type, class allocator>
Returns the number of item d in the list via pointer compare.
Definition at line 296 of file qptrlist.h. References FX::QPtrList< type, allocator >::count(). 00297 { 00298 uint count=0; 00299 for(typename Base::iterator it=Base::begin(); it!=Base::end(); ++it) 00300 { 00301 if(*it==d) count++; 00302 } 00303 return count; 00304 }
|