template<class type, class allocator>
Removes the last item.
Definition at line 156 of file qptrlist.h. References FX::QPtrList< type, allocator >::deleteItem(), and FX::QPtrList< type, allocator >::isEmpty(). 00157 { 00158 if(isEmpty()) return false; 00159 typename Base::iterator it=--Base::end(); 00160 deleteItem(*it); 00161 Base::pop_back(); 00162 return true; 00163 }
|