Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::PresenceSpecList Class Reference

The PresenceSpecList class represents a list of PresenceSpec. More...

#include <TelepathyQt/PresenceSpecList>

Inheritance diagram for Tp::PresenceSpecList:
Inheritance graph
[legend]

Public Member Functions

 PresenceSpecList ()
 
 PresenceSpecList (const SimpleStatusSpecMap &specMap)
 
 PresenceSpecList (const QList< PresenceSpec > &other)
 
QMap< QString, PresenceSpectoMap () const
 
SimpleStatusSpecMap bareSpecs () const
 
- Public Member Functions inherited from QList< PresenceSpec >
 QList ()
 
 QList (const QList< T > &other)
 
 QList (std::initializer_list< T > args)
 
 ~QList ()
 
QList< T > & operator= (const QList< T > &other)
 
void swap (QList< T > &other)
 
void swap (int i, int j)
 
bool operator== (const QList< T > &other) const
 
bool operator!= (const QList< T > &other) const
 
int size () 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 alloc)
 
void append (const T &value)
 
void append (const QList< T > &value)
 
void prepend (const T &value)
 
void insert (int i, const T &value)
 
iterator insert (iterator before, const T &value)
 
void replace (int i, const T &value)
 
void removeAt (int i)
 
int removeAll (const T &value)
 
bool removeOne (const T &value)
 
takeAt (int i)
 
takeFirst ()
 
takeLast ()
 
void move (int from, int to)
 
int indexOf (const T &value, int from) const
 
int lastIndexOf (const T &value, int from) const
 
bool contains (const T &value) const
 
int count (const T &value) const
 
int count () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator constBegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator constEnd () const
 
iterator erase (iterator pos)
 
iterator erase (iterator begin, iterator end)
 
int length () const
 
T & first ()
 
const T & first () const
 
T & last ()
 
const T & last () const
 
void removeFirst ()
 
void removeLast ()
 
bool startsWith (const T &value) const
 
bool endsWith (const T &value) const
 
QList< T > mid (int pos, int length) const
 
value (int i) const
 
value (int i, const T &defaultValue) const
 
void push_back (const T &value)
 
void push_front (const T &value)
 
T & front ()
 
const T & front () const
 
T & back ()
 
const T & back () const
 
void pop_front ()
 
void pop_back ()
 
bool empty () const
 
iterator remove (iterator pos)
 
int remove (const T &t)
 
int findIndex (const T &t) const
 
iterator find (const T &t)
 
const_iterator find (const T &t) const
 
iterator find (iterator from, const T &t)
 
const_iterator find (const_iterator from, const T &t) const
 
QList< T > & operator+= (const QList< T > &other)
 
QList< T > & operator+= (const T &value)
 
QList< T > operator+ (const QList< T > &other) const
 
QList< T > & operator<< (const T &value)
 
QList< T > & operator<< (const QList< T > &other)
 
QVector< T > toVector () const
 
QSet< T > toSet () const
 
std::list< T > toStdList () const
 

Additional Inherited Members

- Static Public Member Functions inherited from QList< PresenceSpec >
QList< T > fromVector (const QVector< T > &vector)
 
QList< T > fromSet (const QSet< T > &set)
 
QList< T > fromStdList (const std::list< T > &list)
 
- Public Attributes inherited from QList< PresenceSpec >
typedef Iterator
 
typedef ConstIterator
 
typedef size_type
 
typedef value_type
 
typedef pointer
 
typedef const_pointer
 
typedef reference
 
typedef const_reference
 
typedef difference_type
 

Detailed Description

The PresenceSpecList class represents a list of PresenceSpec.

Constructor & Destructor Documentation

Tp::PresenceSpecList::PresenceSpecList ( )
inline
Tp::PresenceSpecList::PresenceSpecList ( const SimpleStatusSpecMap specMap)
inline
Tp::PresenceSpecList::PresenceSpecList ( const QList< PresenceSpec > &  other)
inline

Member Function Documentation

QMap<QString, PresenceSpec> Tp::PresenceSpecList::toMap ( ) const
inline
SimpleStatusSpecMap Tp::PresenceSpecList::bareSpecs ( ) const
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.4