Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

template<class T>
T QQueue< T >::dequeue (  )  [inline]

Removes the head item in the queue and returns it. This function assumes that the queue isn't empty.

This is the same as QList::takeFirst().

See also:
head(), enqueue(), isEmpty()

Definition at line 60 of file qqueue.h.

Referenced by QAbstractFormBuilder::loadTreeWidgetExtraInfo(), and QAbstractFormBuilder::saveTreeWidgetExtraInfo().

{ return QList<T>::takeFirst(); }

Generated by  Doxygen 1.6.0   Back to index