#include <qcontainerfwd.h>
Definition at line 61 of file qcontainerfwd.h.
Public Member Functions | |
QQueue () | |
~QQueue () | |
void | swap (QQueue< T > &other) |
void | enqueue (const T &t) |
T | dequeue () |
T & | head () |
const T & | head () const |
![]() | |
QList () | |
QList (const QList< T > &l) | |
~QList () | |
QList< T > & | operator= (const QList< T > &l) |
void | swap (QList< T > &other) |
bool | operator== (const QList< T > &l) const |
bool | operator!= (const QList< T > &l) const |
int | size () const |
void | detach () |
void | detachShared () |
bool | isDetached () const |
void | setSharable (bool sharable) |
bool | isSharedWith (const QList< T > &other) const |
bool | isEmpty () const |
void | clear () |
const T & | at (int i) const |
const T & | operator[] (int i) const |
T & | operator[] (int i) |
void | reserve (int size) |
void | append (const T &t) |
void | append (const QList< T > &t) |
void | prepend (const T &t) |
void | insert (int i, const T &t) |
void | replace (int i, const T &t) |
void | removeAt (int i) |
int | removeAll (const T &t) |
bool | removeOne (const T &t) |
T | takeAt (int i) |
T | takeFirst () |
T | takeLast () |
void | move (int from, int to) |
void | swap (int i, int j) |
int | indexOf (const T &t, int from=0) const |
int | lastIndexOf (const T &t, int from=-1) const |
QBool | contains (const T &t) const |
int | count (const T &t) const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | constBegin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | constEnd () const |
iterator | insert (iterator before, const T &t) |
iterator | erase (iterator pos) |
iterator | erase (iterator first, iterator last) |
int | count () const |
int | length () const |
T & | first () |
const T & | first () const |
T & | last () |
const T & | last () const |
void | removeFirst () |
void | removeLast () |
bool | startsWith (const T &t) const |
bool | endsWith (const T &t) const |
QList< T > | mid (int pos, int length=-1) const |
T | value (int i) const |
T | value (int i, const T &defaultValue) const |
void | push_back (const T &t) |
void | push_front (const T &t) |
T & | front () |
const T & | front () const |
T & | back () |
const T & | back () const |
void | pop_front () |
void | pop_back () |
bool | empty () const |
QList< T > & | operator+= (const QList< T > &l) |
QList< T > | operator+ (const QList< T > &l) const |
QList< T > & | operator+= (const T &t) |
QList< T > & | operator<< (const T &t) |
QList< T > & | operator<< (const QList< T > &l) |
QVector< T > | toVector () const |
QSet< T > | toSet () const |
std::list< T > | toStdList () const |
Additional Inherited Members | |
![]() | |
typedef iterator | Iterator |
typedef const_iterator | ConstIterator |
typedef int | size_type |
typedef T | value_type |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef qptrdiff | difference_type |
![]() | |
static QList< T > | fromVector (const QVector< T > &vector) |
static QList< T > | fromSet (const QSet< T > &set) |
static QList< T > | fromStdList (const std::list< T > &list) |