QTextBlock::iterator Class Reference

QTextBlock::iterator Class Reference

#include <qtextobject.h>

Class Description

Definition at line 251 of file qtextobject.h.

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
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 

Friends

class QTextBlock
 

Constructor & Destructor Documentation

iterator ( )
inline

Definition at line 259 of file qtextobject.h.

259 : p(0), b(0), e(0), n(0) {}
GLenum GLsizei n
Definition: GLee.h:3432
GLubyte GLubyte b
Definition: GLee.h:5404
GLfloat GLfloat p
Definition: GLee.h:5416
iterator ( const iterator o)
inline

Definition at line 260 of file qtextobject.h.

260 : p(o.p), b(o.b), e(o.e), n(o.n) {}
GLenum GLsizei n
Definition: GLee.h:3432
GLubyte GLubyte b
Definition: GLee.h:5404
GLfloat GLfloat p
Definition: GLee.h:5416

Member Function Documentation

QTextFragment fragment ( ) const
bool atEnd ( ) const
inline

Definition at line 264 of file qtextobject.h.

264 { return n == e; }
GLenum GLsizei n
Definition: GLee.h:3432
bool operator== ( const iterator o) const
inline

Definition at line 266 of file qtextobject.h.

266 { return p == o.p && n == o.n; }
GLenum GLsizei n
Definition: GLee.h:3432
GLfloat GLfloat p
Definition: GLee.h:5416
bool operator!= ( const iterator o) const
inline

Definition at line 267 of file qtextobject.h.

267 { return p != o.p || n != o.n; }
GLenum GLsizei n
Definition: GLee.h:3432
GLfloat GLfloat p
Definition: GLee.h:5416
iterator& operator++ ( )
iterator operator++ ( int  )
inline

Definition at line 269 of file qtextobject.h.

269 { iterator tmp = *this; operator++(); return tmp; }
iterator & operator++()
iterator& operator-- ( )
iterator operator-- ( int  )
inline

Definition at line 271 of file qtextobject.h.

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

Friends And Related Function Documentation

friend class QTextBlock
friend

Definition at line 256 of file qtextobject.h.


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