template<class type, class allocator>
Clears the list.
Definition at line 218 of file qptrlist.h. References FX::QPtrList< type, allocator >::deleteItem(). Referenced by FX::operator>>(), FX::QPtrList< type, allocator >::~QPtrList(), and FX::QSortedList< type, allocator >::~QSortedList(). 00219 { 00220 for(typename Base::iterator it=Base::begin(); it!=Base::end(); ++it) 00221 { 00222 deleteItem(*it); 00223 } 00224 Base::clear(); 00225 }
|