IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QExtend::ObjectList Class Reference

A test class. More...

#include <objectlist.hpp>

List of all members.

Public Types

typedef QList< QObject * >
::const_iterator 
const_iterator
typedef QList< QObject * >
::iterator 
iterator
typedef const_iterator ConstIterator
typedef iterator Iterator

Public Member Functions

 ObjectList ()
 ObjectList (const ObjectList &list)
 ~ObjectList ()
void append (QObject *object)
void append (const ObjectList &list)
const QObject * at (int i) const
QObject * back ()
const QObject * back () const
iterator begin ()
const_iterator begin () const
void clear ()
const_iterator constBegin () const
const_iterator constEnd () const
int count () const
bool empty () const
iterator end ()
const_iterator end () const
iterator erase (iterator pos)
iterator erase (iterator begin, iterator end)
QObject * first ()
const QObject * first () const
QObject * front ()
const QObject * front () const
void insert (int i, QObject *object)
iterator insert (iterator before, QObject *object)
bool isEmpty () const
QObject * last ()
const QObject * last () const
int length () const
ObjectList mid (int pos, int length=-1) const
void move (int from, int to)
void pop_back ()
void pop_front ()
void prepend (QObject *object)
void push_back (QObject *object)
void push_front (QObject *object)
void removeAt (int i)
void removeFirst ()
void removeLast ()
void reserve (int alloc)
int size () const
void swap (int i, int j)
QObject * takeAt (int i)
QObject * takeFirst ()
QObject * takeLast ()
QObject * value (int i) const
QObject * value (int i, QObject *object) const
ObjectList operator+ (const ObjectList &list) const
ObjectList operator+ (QObject *object) const
ObjectListoperator+= (const ObjectList &list)
ObjectListoperator+= (QObject *object)
ObjectListoperator<< (ObjectList &list)
ObjectListoperator<< (QObject *object)
ObjectListoperator= (ObjectList &list)
ObjectListoperator= (QObject *object)
QObject * operator[] (int i)
const QObject * operator[] (int i) const
QObject * getObject (const QString name) const
QObject * getObject (const char *property, const QVariant value) const
Iterator getObjectIterator (const QString name)
Iterator getObjectIterator (const char *property, const QVariant value)
ObjectList getObjects (const QString name) const
ObjectList getObjects (const char *property, const QVariant value) const
template<typename T >
T * getObject () const
template<typename T >
T * getObject (const QString name) const
template<typename T >
T * getObject (const char *property, const QVariant name) const
template<typename T >
QList< T * > getObjects () const
template<typename T >
QList< T * > getObjects (const QString name) const
template<typename T >
QList< T * > getObjects (const char *property, const QVariant name) const
bool removeObject (Iterator it)
bool removeObject ()
bool removeObject (const QString name)
bool removeObject (const char *property, const QVariant value)
void removeObjects ()
void removeObjects (const QString name)
void removeObjects (const char *property, const QVariant value)

Detailed Description

A test class.

A more elaborate class description.

Definition at line 64 of file objectlist.hpp.


Member Typedef Documentation

Definition at line 67 of file objectlist.hpp.

Definition at line 70 of file objectlist.hpp.

typedef QList< QObject* >::iterator QExtend::ObjectList::iterator

Definition at line 68 of file objectlist.hpp.


Constructor & Destructor Documentation

QExtend::ObjectList::ObjectList (  )  [inline, explicit]

Definition at line 75 of file objectlist.hpp.

QExtend::ObjectList::ObjectList ( const ObjectList list  ) 
QExtend::ObjectList::~ObjectList (  ) 

Member Function Documentation

void QExtend::ObjectList::append ( QObject *  object  )  [inline]

Definition at line 80 of file objectlist.hpp.

void QExtend::ObjectList::append ( const ObjectList list  ) 
const QObject* QExtend::ObjectList::at ( int  i  )  const [inline]

Definition at line 82 of file objectlist.hpp.

QObject* QExtend::ObjectList::back (  )  [inline]

Definition at line 83 of file objectlist.hpp.

const QObject* QExtend::ObjectList::back (  )  const [inline]

Definition at line 84 of file objectlist.hpp.

iterator QExtend::ObjectList::begin (  )  [inline]

Definition at line 85 of file objectlist.hpp.

const_iterator QExtend::ObjectList::begin (  )  const [inline]

Definition at line 86 of file objectlist.hpp.

void QExtend::ObjectList::clear (  )  [inline]

Definition at line 87 of file objectlist.hpp.

const_iterator QExtend::ObjectList::constBegin (  )  const [inline]

Definition at line 88 of file objectlist.hpp.

const_iterator QExtend::ObjectList::constEnd (  )  const [inline]

Definition at line 89 of file objectlist.hpp.

int QExtend::ObjectList::count (  )  const [inline]

Definition at line 92 of file objectlist.hpp.

bool QExtend::ObjectList::empty (  )  const [inline]

Definition at line 93 of file objectlist.hpp.

iterator QExtend::ObjectList::end (  )  [inline]

Definition at line 94 of file objectlist.hpp.

const_iterator QExtend::ObjectList::end (  )  const [inline]

Definition at line 95 of file objectlist.hpp.

iterator QExtend::ObjectList::erase ( iterator  begin,
iterator  end 
) [inline]

Definition at line 98 of file objectlist.hpp.

iterator QExtend::ObjectList::erase ( iterator  pos  )  [inline]

Definition at line 97 of file objectlist.hpp.

QObject* QExtend::ObjectList::first (  )  [inline]

Definition at line 99 of file objectlist.hpp.

const QObject* QExtend::ObjectList::first (  )  const [inline]

Definition at line 100 of file objectlist.hpp.

QObject* QExtend::ObjectList::front (  )  [inline]

Definition at line 101 of file objectlist.hpp.

const QObject* QExtend::ObjectList::front (  )  const [inline]

Definition at line 102 of file objectlist.hpp.

template<typename T >
T* QExtend::ObjectList::getObject ( const char *  property,
const QVariant  name 
) const
T * QExtend::ObjectList::getObject ( const QString  name  )  const

Definition at line 199 of file objectlist.hpp.

T * QExtend::ObjectList::getObject ( const char *  property,
const QVariant  value 
) const

Definition at line 212 of file objectlist.hpp.

template<typename T >
T * QExtend::ObjectList::getObject (  )  const

Definition at line 186 of file objectlist.hpp.

template<typename T >
T* QExtend::ObjectList::getObject ( const QString  name  )  const
Iterator QExtend::ObjectList::getObjectIterator ( const QString  name  ) 
Iterator QExtend::ObjectList::getObjectIterator ( const char *  property,
const QVariant  value 
)
template<typename T >
QList< T * > QExtend::ObjectList::getObjects (  )  const

Definition at line 231 of file objectlist.hpp.

template<typename T >
QList<T*> QExtend::ObjectList::getObjects ( const QString  name  )  const
template<typename T >
QList<T*> QExtend::ObjectList::getObjects ( const char *  property,
const QVariant  name 
) const
QList< T * > QExtend::ObjectList::getObjects ( const QString  name  )  const

Definition at line 246 of file objectlist.hpp.

QList< T * > QExtend::ObjectList::getObjects ( const char *  property,
const QVariant  value 
) const

Definition at line 261 of file objectlist.hpp.

void QExtend::ObjectList::insert ( int  i,
QObject *  object 
) [inline]

Definition at line 104 of file objectlist.hpp.

iterator QExtend::ObjectList::insert ( iterator  before,
QObject *  object 
) [inline]

Definition at line 105 of file objectlist.hpp.

bool QExtend::ObjectList::isEmpty (  )  const [inline]

Definition at line 106 of file objectlist.hpp.

QObject* QExtend::ObjectList::last (  )  [inline]

Definition at line 107 of file objectlist.hpp.

const QObject* QExtend::ObjectList::last (  )  const [inline]

Definition at line 108 of file objectlist.hpp.

int QExtend::ObjectList::length (  )  const [inline]

Definition at line 110 of file objectlist.hpp.

ObjectList QExtend::ObjectList::mid ( int  pos,
int  length = -1 
) const
void QExtend::ObjectList::move ( int  from,
int  to 
) [inline]

Definition at line 112 of file objectlist.hpp.

ObjectList QExtend::ObjectList::operator+ ( QObject *  object  )  const
ObjectList QExtend::ObjectList::operator+ ( const ObjectList list  )  const
ObjectList& QExtend::ObjectList::operator+= ( const ObjectList list  )  [inline]

Definition at line 139 of file objectlist.hpp.

ObjectList& QExtend::ObjectList::operator+= ( QObject *  object  )  [inline]

Definition at line 140 of file objectlist.hpp.

ObjectList& QExtend::ObjectList::operator<< ( QObject *  object  )  [inline]

Definition at line 142 of file objectlist.hpp.

ObjectList& QExtend::ObjectList::operator<< ( ObjectList list  )  [inline]

Definition at line 141 of file objectlist.hpp.

ObjectList& QExtend::ObjectList::operator= ( QObject *  object  )  [inline]

Definition at line 145 of file objectlist.hpp.

ObjectList& QExtend::ObjectList::operator= ( ObjectList list  )  [inline]

Definition at line 143 of file objectlist.hpp.

const QObject* QExtend::ObjectList::operator[] ( int  i  )  const [inline]

Definition at line 148 of file objectlist.hpp.

QObject* QExtend::ObjectList::operator[] ( int  i  )  [inline]

Definition at line 147 of file objectlist.hpp.

void QExtend::ObjectList::pop_back (  )  [inline]

Definition at line 113 of file objectlist.hpp.

void QExtend::ObjectList::pop_front (  )  [inline]

Definition at line 114 of file objectlist.hpp.

void QExtend::ObjectList::prepend ( QObject *  object  )  [inline]

Definition at line 115 of file objectlist.hpp.

void QExtend::ObjectList::push_back ( QObject *  object  )  [inline]

Definition at line 116 of file objectlist.hpp.

void QExtend::ObjectList::push_front ( QObject *  object  )  [inline]

Definition at line 117 of file objectlist.hpp.

void QExtend::ObjectList::removeAt ( int  i  )  [inline]

Definition at line 119 of file objectlist.hpp.

void QExtend::ObjectList::removeFirst (  )  [inline]

Definition at line 120 of file objectlist.hpp.

void QExtend::ObjectList::removeLast (  )  [inline]

Definition at line 121 of file objectlist.hpp.

bool QExtend::ObjectList::removeObject (  ) 
bool QExtend::ObjectList::removeObject ( const QString  name  ) 
bool QExtend::ObjectList::removeObject ( Iterator  it  ) 
bool QExtend::ObjectList::removeObject ( const char *  property,
const QVariant  value 
)
void QExtend::ObjectList::removeObjects (  ) 
void QExtend::ObjectList::removeObjects ( const char *  property,
const QVariant  value 
)
void QExtend::ObjectList::removeObjects ( const QString  name  ) 
void QExtend::ObjectList::reserve ( int  alloc  ) 
int QExtend::ObjectList::size (  )  const [inline]

Definition at line 125 of file objectlist.hpp.

void QExtend::ObjectList::swap ( int  i,
int  j 
) [inline]

Definition at line 127 of file objectlist.hpp.

QObject* QExtend::ObjectList::takeAt ( int  i  )  [inline]

Definition at line 128 of file objectlist.hpp.

QObject* QExtend::ObjectList::takeFirst (  )  [inline]

Definition at line 129 of file objectlist.hpp.

QObject* QExtend::ObjectList::takeLast (  )  [inline]

Definition at line 130 of file objectlist.hpp.

QObject* QExtend::ObjectList::value ( int  i  )  const [inline]

Definition at line 134 of file objectlist.hpp.

QObject* QExtend::ObjectList::value ( int  i,
QObject *  object 
) const [inline]

Definition at line 135 of file objectlist.hpp.

Responsable bénévole de la rubrique Qt : Thibaut Cuvelier -