template<class type, class allocator>
bool FX::QPtrList< type, allocator >::removeLast (  )  [inline, inherited]

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     }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:43 2009 for TnFOX by doxygen v1.4.7