QQueue

#include <QtCore/QQueue>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QQueue


Overview

Inheritance

QList
QQueue

Public Types Index

Only has inherited public types

const value_type *const_pointer
const value_type &const_reference
const_iteratorConstIterator
qptrdiffdifference_type
iteratorIterator
value_type *pointer
value_type &reference
intsize_type
Tvalue_type

Public Attributes Index

Only has inherited public attributes

QListData::Data *dInherited
QListDatapInherited

Public Functions Index

QQueue ()
~QQueue ()
Tdequeue ()
voidenqueue (const T &t)
T &head ()
const T &head () const
voidswap (QQueue< T > &other)
voidappend (const T &t)Inherited
voidappend (const QList< T > &t)Inherited
const T &at (int i) const Inherited
T &back ()Inherited
const T &back () const Inherited
iteratorbegin ()Inherited
const_iteratorbegin () const Inherited
voidclear ()Inherited
const_iteratorconstBegin () const Inherited
const_iteratorconstEnd () const Inherited
QBoolcontains (const T &t) const Inherited
intcount (const T &t) const Inherited
intcount () const Inherited
voiddetach ()Inherited
voiddetachShared ()Inherited
boolempty () const Inherited
iteratorend ()Inherited
const_iteratorend () const Inherited
boolendsWith (const T &t) const Inherited
iteratorerase (iterator pos)Inherited
iteratorerase (iterator first, iterator last)Inherited
T &first ()Inherited
const T &first () const Inherited
T &front ()Inherited
const T &front () const Inherited
intindexOf (const T &t, int from=0) const Inherited
voidinsert (int i, const T &t)Inherited
iteratorinsert (iterator before, const T &t)Inherited
boolisDetached () const Inherited
boolisEmpty () const Inherited
boolisSharedWith (const QList< T > &other) const Inherited
T &last ()Inherited
const T &last () const Inherited
intlastIndexOf (const T &t, int from=-1) const Inherited
intlength () const Inherited
QList< T >mid (int pos, int length=-1) const Inherited
voidmove (int from, int to)Inherited
booloperator!= (const QList< T > &l) const Inherited
QList< T >operator+ (const QList< T > &l) const Inherited
QList< T > &operator+= (const QList< T > &l)Inherited
QList< T > &operator+= (const T &t)Inherited
QList< T > &operator<< (const T &t)Inherited
QList< T > &operator<< (const QList< T > &l)Inherited
QList< T > &operator= (const QList< T > &l)Inherited
booloperator== (const QList< T > &l) const Inherited
const T &operator[] (int i) const Inherited
T &operator[] (int i)Inherited
voidpop_back ()Inherited
voidpop_front ()Inherited
voidprepend (const T &t)Inherited
voidpush_back (const T &t)Inherited
voidpush_front (const T &t)Inherited
QList ()Inherited
QList (const QList< T > &l)Inherited
intremoveAll (const T &t)Inherited
voidremoveAt (int i)Inherited
voidremoveFirst ()Inherited
voidremoveLast ()Inherited
boolremoveOne (const T &t)Inherited
voidreplace (int i, const T &t)Inherited
voidreserve (int size)Inherited
voidsetSharable (bool sharable)Inherited
intsize () const Inherited
boolstartsWith (const T &t) const Inherited
voidswap (QList< T > &other)Inherited
voidswap (int i, int j)Inherited
TtakeAt (int i)Inherited
TtakeFirst ()Inherited
TtakeLast ()Inherited
QSet< T >toSet () const Inherited
std::list< T >toStdList () const Inherited
QVector< T >toVector () const Inherited
Tvalue (int i) const Inherited
Tvalue (int i, const T &defaultValue) const Inherited

Static Public Functions Index

Only has inherited static public functions

QList< T >fromSet (const QSet< T > &set)Inherited
QList< T >fromStdList (const std::list< T > &list)Inherited
QList< T >fromVector (const QVector< T > &vector)Inherited

Public Types

(Only has inherited public types)

typedef const value_type * const_pointer Inherited

typedef const value_type & const_reference Inherited

typedef const_iterator ConstIterator Inherited

typedef qptrdiff difference_type Inherited

typedef iterator Iterator Inherited

typedef value_type * pointer Inherited

typedef value_type & reference Inherited

typedef int size_type Inherited

typedef T value_type Inherited

Public Attributes

(Only has inherited public attributes)

Public Functions

QQueue ()

~QQueue ()

Destructor.

T dequeue ()

void enqueue (
  • const T &t)

T & head ()

const T & head ()

void swap (

void append (
  • const T &t)
Inherited

void append (Inherited

const T & at (
  • inti)
Inherited

T & back ()Inherited

const T & back ()Inherited

iterator begin ()Inherited

void clear ()Inherited

const_iterator constBegin ()Inherited

const_iterator constEnd ()Inherited

QBool contains (
  • const T &t)
Inherited

int count (
  • const T &t)
Inherited

int count ()Inherited

void detach ()Inherited

void detachShared ()Inherited

bool empty ()Inherited

iterator end ()Inherited

bool endsWith (
  • const T &t)
Inherited

iterator erase (Inherited

iterator erase (Inherited

T & first ()Inherited

const T & first ()Inherited

T & front ()Inherited

const T & front ()Inherited

int indexOf (
  • const T &t,
  • intfrom )
Inherited

void insert (
  • inti,
  • const T &t )
Inherited

iterator insert (Inherited

bool isDetached ()Inherited

bool isEmpty ()Inherited

bool isSharedWith (Inherited

T & last ()Inherited

const T & last ()Inherited

int lastIndexOf (
  • const T &t,
  • intfrom )
Inherited

int length ()Inherited

QList< T > mid (
  • intpos,
  • intlength )
Inherited

void move (
  • intfrom,
  • intto )
Inherited

bool operator!= (Inherited

QList< T > operator+ (Inherited

QList< T > & operator+= (Inherited

QList< T > & operator+= (
  • const T &t)
Inherited

QList< T > & operator<< (
  • const T &t)
Inherited

QList< T > & operator<< (Inherited

QList< T > & operator= (Inherited

bool operator== (Inherited

const T & operator[] (
  • inti)
Inherited

T & operator[] (
  • inti)
Inherited

void pop_back ()Inherited

void pop_front ()Inherited

void prepend (
  • const T &t)
Inherited

void push_back (
  • const T &t)
Inherited

void push_front (
  • const T &t)
Inherited

QList ()Inherited

QList (Inherited

int removeAll (
  • const T &t)
Inherited

void removeAt (
  • inti)
Inherited

void removeFirst ()Inherited

void removeLast ()Inherited

bool removeOne (
  • const T &t)
Inherited

void replace (
  • inti,
  • const T &t )
Inherited

void reserve (
  • intsize)
Inherited

void setSharable (
  • boolsharable)
Inherited

int size ()Inherited

bool startsWith (
  • const T &t)
Inherited

void swap (Inherited

void swap (
  • inti,
  • intj )
Inherited

T takeAt (
  • inti)
Inherited

T takeFirst ()Inherited

T takeLast ()Inherited

QSet< T > toSet ()Inherited

std::list< T > toStdList ()Inherited

QVector< T > toVector ()Inherited

T value (
  • inti)
Inherited

T value (
  • inti,
  • const T &defaultValue )
Inherited

Static Public Functions

(Only has inherited static public functions)

QList< T > fromSet (
  • const QSet< T > &set)
Inherited

QList< T > fromStdList (
  • const std::list< T > &list)
Inherited

QList< T > fromVector (Inherited

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus