QLinkedList

#include <QtCore/QLinkedList>

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


Overview

Public Types Index

Public Attributes Index

Public Functions Index

QLinkedList ()
QLinkedList (const QLinkedList< T > &l)
~QLinkedList ()
voidappend (const T &)
T &back ()
const T &back () const
iteratorbegin ()
const_iteratorbegin () const
voidclear ()
const_iteratorconstBegin () const
const_iteratorconstEnd () const
boolcontains (const T &t) const
intcount (const T &t) const
intcount () const
voiddetach ()
boolempty () const
iteratorend ()
const_iteratorend () const
boolendsWith (const T &t) const
iteratorerase (iterator pos)
iteratorerase (iterator first, iterator last)
T &first ()
const T &first () const
T &front ()
const T &front () const
iteratorinsert (iterator before, const T &t)
boolisDetached () const
boolisEmpty () const
boolisSharedWith (const QLinkedList< T > &other) const
T &last ()
const T &last () const
booloperator!= (const QLinkedList< T > &l) const
QLinkedList< T >operator+ (const QLinkedList< T > &l) const
QLinkedList< T > &operator+= (const QLinkedList< T > &l)
QLinkedList< T > &operator+= (const T &t)
QLinkedList< T > &operator<< (const T &t)
QLinkedList< T > &operator<< (const QLinkedList< T > &l)
QLinkedList< T > &operator= (const QLinkedList< T > &)
booloperator== (const QLinkedList< T > &l) const
voidpop_back ()
voidpop_front ()
voidprepend (const T &)
voidpush_back (const T &t)
voidpush_front (const T &t)
intremoveAll (const T &t)
voidremoveFirst ()
voidremoveLast ()
boolremoveOne (const T &t)
voidsetSharable (bool sharable)
intsize () const
boolstartsWith (const T &t) const
voidswap (QLinkedList< T > &other)
TtakeFirst ()
TtakeLast ()
std::list< T >toStdList () const

Static Public Functions Index

QLinkedList< T >fromStdList (const std::list< T > &list)

Public Types

typedef const value_type * const_pointer

typedef const value_type & const_reference

typedef const_iterator ConstIterator

typedef qptrdiff difference_type

typedef iterator Iterator

typedef value_type * pointer

typedef value_type & reference

typedef int size_type

typedef T value_type

Public Attributes

Public Functions

QLinkedList ()

QLinkedList (

~QLinkedList ()

Destructor.

void append (
  • const T &)

T & back ()

const T & back ()

iterator begin ()

void clear ()

const_iterator constBegin ()

const_iterator constEnd ()

bool contains (
  • const T &t)

int count (
  • const T &t)

int count ()

void detach ()

bool empty ()

iterator end ()

bool endsWith (
  • const T &t)

iterator erase (

iterator erase (

T & first ()

const T & first ()

T & front ()

const T & front ()

iterator insert (

bool isDetached ()

bool isEmpty ()

bool isSharedWith (

T & last ()

const T & last ()

bool operator!= (

QLinkedList< T > operator+ (

QLinkedList< T > & operator+= (

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

QLinkedList< T > & operator<< (
  • const T &t)

QLinkedList< T > & operator<< (

QLinkedList< T > & operator= (

bool operator== (

void pop_back ()

void pop_front ()

void prepend (
  • const T &)

void push_back (
  • const T &t)

void push_front (
  • const T &t)

int removeAll (
  • const T &t)

void removeFirst ()

void removeLast ()

bool removeOne (
  • const T &t)

void setSharable (
  • boolsharable)

int size ()

bool startsWith (
  • const T &t)

void swap (

T takeFirst ()

T takeLast ()

std::list< T > toStdList ()

Static Public Functions

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

Last modified: 2015-07-24



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

comments powered by Disqus