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

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Friends

# QTextBlock::iterator Class Reference

Search for all occurrences

## Detailed Description

Definition at line 250 of file qtextobject.h.

`#include <qtextobject.h>`

List of all members.

## Public Member Functions
| iterator ()
| iterator (const iterator &o)
QTextFragment | fragment () const
bool | atEnd () const
bool | operator== (const iterator &o) const
bool | operator!= (const iterator &o) const
iterator & | operator++ ()
iterator | operator++ (int)
iterator & | operator-- ()
iterator | operator-- (int)
## Friends
class | QTextBlock

## Constructor & Destructor Documentation

iterator | ( |  | ) | `[inline]`

Definition at line 258 of file qtextobject.h.

    : p(0), b(0), e(0), n(0) {}

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

Definition at line 259 of file qtextobject.h.

    : p(o.p), b(o.b), e(o.e), n(o.n) {}

## Member Function Documentation

QTextFragment fragment | ( |  | ) | const

Search for all occurrences

bool atEnd | ( |  | ) | const `[inline]`

Search for all occurrences

Definition at line 263 of file qtextobject.h.

    { return n == e; }

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

Definition at line 265 of file qtextobject.h.

    { return p == o.p && n == o.n; }

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

Definition at line 266 of file qtextobject.h.

    { return p != o.p || n != o.n; }

iterator& operator++ | ( |  | ) |

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

Definition at line 268 of file qtextobject.h.

    { iterator tmp = *this; operator++(); return tmp; }

iterator& operator-- | ( |  | ) |

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

Definition at line 270 of file qtextobject.h.

    { iterator tmp = *this; operator--(); return tmp; }

## Friends And Related Function Documentation

friend class QTextBlock `[friend]`

Search for all occurrences

Definition at line 255 of file qtextobject.h.

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

- QtGui/qtextobject.h

QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator
QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator QTextBlock::iterator