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

Removes the last item without auto-deletion.

Definition at line 210 of file qptrlist.h.

References FX::QPtrList< type, allocator >::isEmpty().

00211     {
00212         if(isEmpty()) return false;
00213         typename Base::iterator it=--Base::end();
00214         Base::pop_back();
00215         return true;
00216     }


(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