Definition at line 198 of file qtextobject.h.
#include <qtextobject.h>
Classes |
|
| class | iterator |
Public Types |
|
| typedef iterator | Iterator |
Public Member Functions |
|
| QTextBlock (QTextDocumentPrivate *priv, int b) | |
| QTextBlock () | |
| QTextBlock (const QTextBlock &o) | |
| QTextBlock & | operator= (const QTextBlock &o) |
| bool | isValid () const |
| bool | operator== (const QTextBlock &o) const |
| bool | operator!= (const QTextBlock &o) const |
| bool | operator< (const QTextBlock &o) const |
| int | position () const |
| int | length () const |
| bool | contains (int position) const |
| QTextLayout * | layout () const |
| void | clearLayout () |
| QTextBlockFormat | blockFormat () const |
| int | blockFormatIndex () const |
| QTextCharFormat | charFormat () const |
| int | charFormatIndex () const |
| Qt::LayoutDirection | textDirection () const |
| QString | text () const |
| const QTextDocument * | document () const |
| QTextList * | textList () const |
| QTextBlockUserData * | userData () const |
| void | setUserData (QTextBlockUserData *data) |
| int | userState () const |
| void | setUserState (int state) |
| int | revision () const |
| void | setRevision (int rev) |
| bool | isVisible () const |
| void | setVisible (bool visible) |
| int | blockNumber () const |
| int | firstLineNumber () const |
| void | setLineCount (int count) |
| int | lineCount () const |
| iterator | begin () const |
| iterator | end () const |
| QTextBlock | next () const |
| QTextBlock | previous () const |
| QTextDocumentPrivate * | docHandle () const |
| int | fragmentIndex () const |
Friends |
|
| class | QSyntaxHighlighter |
| class | QTextDocumentPrivate |
| class | QTextLayout |
Definition at line 274 of file qtextobject.h.
| QTextBlock | ( | QTextDocumentPrivate * | priv, |
| int | b | ||
| ) | [inline] |
Definition at line 202 of file qtextobject.h.
: p(priv), n(b) {}
| QTextBlock | ( | ) | [inline] |
Definition at line 203 of file qtextobject.h.
: p(0), n(0) {}
| QTextBlock | ( | const QTextBlock & | o | ) | [inline] |
Definition at line 204 of file qtextobject.h.
: p(o.p), n(o.n) {}
| QTextBlock& operator= | ( | const QTextBlock & | o | ) | [inline] |
Definition at line 205 of file qtextobject.h.
{ p = o.p; n = o.n; return *this; }
| bool isValid | ( | ) | const [inline] |
Definition at line 207 of file qtextobject.h.
{ return p != 0 && n != 0; }
| bool operator== | ( | const QTextBlock & | o | ) | const [inline] |
Definition at line 209 of file qtextobject.h.
{ return p == o.p && n == o.n; }
| bool operator!= | ( | const QTextBlock & | o | ) | const [inline] |
Definition at line 210 of file qtextobject.h.
{ return p != o.p || n != o.n; }
| bool operator< | ( | const QTextBlock & | o | ) | const [inline] |
Definition at line 211 of file qtextobject.h.
| int position | ( | ) | const |
| int length | ( | ) | const |
| bool contains | ( | int | position | ) | const |
| QTextLayout* layout | ( | ) | const |
| void clearLayout | ( | ) |
| QTextBlockFormat blockFormat | ( | ) | const |
| int blockFormatIndex | ( | ) | const |
| QTextCharFormat charFormat | ( | ) | const |
| int charFormatIndex | ( | ) | const |
| Qt::LayoutDirection textDirection | ( | ) | const |
| QString text | ( | ) | const |
| const QTextDocument* document | ( | ) | const |
| QTextList* textList | ( | ) | const |
| QTextBlockUserData* userData | ( | ) | const |
| void setUserData | ( | QTextBlockUserData * | data | ) |
| int userState | ( | ) | const |
| void setUserState | ( | int | state | ) |
| int revision | ( | ) | const |
| void setRevision | ( | int | rev | ) |
| bool isVisible | ( | ) | const |
| void setVisible | ( | bool | visible | ) |
| int blockNumber | ( | ) | const |
| int firstLineNumber | ( | ) | const |
| void setLineCount | ( | int | count | ) |
| int lineCount | ( | ) | const |
| iterator begin | ( | ) | const |
| iterator end | ( | ) | const |
| QTextBlock next | ( | ) | const |
| QTextBlock previous | ( | ) | const |
| QTextDocumentPrivate* docHandle | ( | ) | const [inline] |
| int fragmentIndex | ( | ) | const [inline] |
friend class QSyntaxHighlighter
[friend] |
Definition at line 200 of file qtextobject.h.
friend class QTextDocumentPrivate
[friend] |
Definition at line 288 of file qtextobject.h.
friend class QTextLayout
[friend] |
Definition at line 289 of file qtextobject.h.