- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# QWebElementCollection::const_iterator Class Reference

Search for all occurrences

## Detailed Description

Definition at line 196 of file qwebelement.h.

`#include <qwebelement.h>`

List of all members.

## Public Member Functions
| const_iterator (const QWebElementCollection *collection, int index)
| const_iterator (const const_iterator &o)
const QWebElement | operator* () const
bool | operator== (const const_iterator &o) const
bool | operator!= (const const_iterator &o) const
bool | operator< (const const_iterator &o) const
bool | operator<= (const const_iterator &o) const
bool | operator> (const const_iterator &o) const
bool | operator>= (const const_iterator &o) const
const_iterator & | operator++ ()
const_iterator | operator++ (int)
const_iterator & | operator-- ()
const_iterator | operator-- (int)
const_iterator & | operator+= (int j)
const_iterator & | operator-= (int j)
const_iterator | operator+ (int j) const
const_iterator | operator- (int j) const
int | operator- (const_iterator j) const

## Constructor & Destructor Documentation

const_iterator | ( | const QWebElementCollection * | collection,
|  | int | index
| ) |  | `[inline]`

Definition at line 198 of file qwebelement.h.

    : i(index), collection(collection) {}

const_iterator | ( | const const_iterator & | o | ) | `[inline]`

Definition at line 199 of file qwebelement.h.

    : i(o.i), collection(o.collection) {}

## Member Function Documentation

const QWebElement operator* | ( |  | ) | const `[inline]`

Definition at line 201 of file qwebelement.h.

    { return collection->at(i); }

bool operator== | ( | const const_iterator & | o | ) | const `[inline]`

Definition at line 203 of file qwebelement.h.

    { return i == o.i && collection == o.collection; }

bool operator!= | ( | const const_iterator & | o | ) | const `[inline]`

Definition at line 204 of file qwebelement.h.

    { return i != o.i || collection != o.collection; }

bool operator< | ( | const const_iterator & | o | ) | const `[inline]`

Definition at line 205 of file qwebelement.h.

    { return i < o.i; }

bool operator<= | ( | const const_iterator & | o | ) | const `[inline]`

Definition at line 206 of file qwebelement.h.

    { return i <= o.i; }

bool operator> | ( | const const_iterator & | o | ) | const `[inline]`

Definition at line 207 of file qwebelement.h.

    { return i > o.i; }

bool operator>= | ( | const const_iterator & | o | ) | const `[inline]`

Definition at line 208 of file qwebelement.h.

    { return i >= o.i; }

const_iterator& operator++ | ( |  | ) | `[inline]`

Definition at line 210 of file qwebelement.h.

    { ++i; return *this; }

const_iterator operator++ | ( | int |  | ) | `[inline]`

Definition at line 211 of file qwebelement.h.

    { const_iterator n(collection, i); ++i; return n; }

const_iterator& operator-- | ( |  | ) | `[inline]`

Definition at line 212 of file qwebelement.h.

    { i--; return *this; }

const_iterator operator-- | ( | int |  | ) | `[inline]`

Definition at line 213 of file qwebelement.h.

    { const_iterator n(collection, i); i--; return n; }

const_iterator& operator+= | ( | int | j | ) | `[inline]`

Definition at line 214 of file qwebelement.h.

    { i += j; return *this; }

const_iterator& operator-= | ( | int | j | ) | `[inline]`

Definition at line 215 of file qwebelement.h.

    { i -= j; return *this; }

const_iterator operator+ | ( | int | j | ) | const `[inline]`

Definition at line 216 of file qwebelement.h.

    { return const_iterator(collection, i + j); }

const_iterator operator- | ( | int | j | ) | const `[inline]`

Definition at line 217 of file qwebelement.h.

    { return const_iterator(collection, i - j); }

int operator- | ( | const_iterator | j | ) | const `[inline]`

Definition at line 218 of file qwebelement.h.

    { return i - j.i; }

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

- QtWebKit/qwebelement.h

QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator
QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator QWebElementCollection::const_iterator