QWebElementCollection Class Reference

QWebElementCollection Class Reference

#include <qwebelement.h>

Class Description

Definition at line 186 of file qwebelement.h.

Classes

class  const_iterator
 
class  iterator
 

Public Member Functions

 QWebElementCollection ()
 
 QWebElementCollection (const QWebElement &contextElement, const QString &query)
 
 QWebElementCollection (const QWebElementCollection &)
 
QWebElementCollectionoperator= (const QWebElementCollection &)
 
 ~QWebElementCollection ()
 
QWebElementCollection operator+ (const QWebElementCollection &other) const
 
QWebElementCollectionoperator+= (const QWebElementCollection &other)
 
void append (const QWebElementCollection &collection)
 
int count () const
 
QWebElement at (int i) const
 
QWebElement operator[] (int i) const
 
QWebElement first () const
 
QWebElement last () const
 
QList< QWebElementtoList () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator constBegin () const
 
const_iterator constEnd () const
 
iterator begin ()
 
iterator end ()
 

Friends

class const_iterator
 
class iterator
 

Constructor & Destructor Documentation

QWebElementCollection ( const QWebElement contextElement,
const QString query 
)

Member Function Documentation

QWebElementCollection& operator= ( const QWebElementCollection )
QWebElementCollection operator+ ( const QWebElementCollection other) const
QWebElementCollection& operator+= ( const QWebElementCollection other)
inline

Definition at line 196 of file qwebelement.h.

197  {
198  append(other); return *this;
199  }
void append(const QWebElementCollection &collection)
void append ( const QWebElementCollection collection)
int count ( ) const
QWebElement at ( int  i) const
QWebElement operator[] ( int  i) const
inline

Definition at line 205 of file qwebelement.h.

205 { return at(i); }
QWebElement at(int i) const
QWebElement first ( ) const
inline

Definition at line 207 of file qwebelement.h.

207 { return at(0); }
QWebElement at(int i) const
QWebElement last ( ) const
inline

Definition at line 208 of file qwebelement.h.

208 { return at(count() - 1); }
QWebElement at(int i) const
QList<QWebElement> toList ( ) const
const_iterator begin ( ) const
inline

Definition at line 241 of file qwebelement.h.

241 { return constBegin(); }
const_iterator constBegin() const
Definition: qwebelement.h:243
const_iterator end ( ) const
inline

Definition at line 242 of file qwebelement.h.

242 { return constEnd(); }
const_iterator constEnd() const
Definition: qwebelement.h:244
const_iterator constBegin ( ) const
inline

Definition at line 243 of file qwebelement.h.

243 { return const_iterator(this, 0); }
friend class const_iterator
Definition: qwebelement.h:239
const_iterator constEnd ( ) const
inline

Definition at line 244 of file qwebelement.h.

244 { return const_iterator(this, count()); };
friend class const_iterator
Definition: qwebelement.h:239
iterator begin ( )
inline

Definition at line 275 of file qwebelement.h.

275 { return iterator(this, 0); }
friend class iterator
Definition: qwebelement.h:273
iterator end ( )
inline

Definition at line 276 of file qwebelement.h.

276 { return iterator(this, count()); }
friend class iterator
Definition: qwebelement.h:273

Friends And Related Function Documentation

friend class const_iterator
friend

Definition at line 239 of file qwebelement.h.

friend class iterator
friend

Definition at line 273 of file qwebelement.h.


The documentation for this class was generated from the following file: