- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# QQueue< T > Class Template Reference

Search for all occurrences

## Detailed Description

### template<class T>
class QQueue< T >

Definition at line 54 of file qqueue.h.

`#include <qqueue.h>`

Inheritance diagram for QQueue< T >:
[legend]

List of all members.

## Public Member Functions
| QQueue ()
| ~QQueue ()
void | enqueue (const T &t)
T | dequeue ()
T & | head ()
const T & | head () const

## Constructor & Destructor Documentation

QQueue | ( |  | ) | `[inline]`

Definition at line 57 of file qqueue.h.

    {}

~QQueue | ( |  | ) | `[inline]`

Definition at line 58 of file qqueue.h.

    {}

## Member Function Documentation

void enqueue | ( | const T & | t | ) | `[inline]`

Search for all occurrences

Definition at line 59 of file qqueue.h.

    { QList<T>::append(t); }

T dequeue | ( |  | ) | `[inline]`

Search for all occurrences

Definition at line 60 of file qqueue.h.

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

T& head | ( |  | ) | `[inline]`

Search for all occurrences

Definition at line 61 of file qqueue.h.

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

const T& head | ( |  | ) | const `[inline]`

Search for all occurrences

Definition at line 62 of file qqueue.h.

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

The documentation for this class was generated from the following file:

- QtCore/qqueue.h