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

Removes the first item.

Definition at line 147 of file qptrlist.h.

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

00148     {
00149         if(isEmpty()) return false;
00150         typename Base::iterator it=Base::begin();
00151         deleteItem(*it);
00152         Base::pop_front();
00153         return true;
00154     }


(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