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

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

Returns a reference to the queue's head item. This function assumes that the queue isn't empty.

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

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

Definition at line 61 of file qqueue.h.

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

Generated by  Doxygen 1.6.0   Back to index