![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qtextblock_p.h>
Public Member Functions | |
| bool | isValid () const |
| void | setBlockNumber (int blockNumber) |
| int | blockNumber () const |
| void | setPosition (int position) |
| int | position () const |
| void | setLength (int length) |
| int | length () const |
| TextBlock | next () const |
| TextBlock | previous () const |
| int | userState () const |
| void | setUserState (int state) |
| bool | isVisible () const |
| void | setVisible (bool visible) |
| void | setLineCount (int count) |
| int | lineCount () const |
| void | setDocument (TextDocument *document) |
| TextDocument * | document () const |
| QString | text () const |
| int | revision () const |
| void | setRevision (int rev) |
Friends | |
| bool | operator== (const TextBlock &t1, const TextBlock &t2) |
| bool | operator!= (const TextBlock &t1, const TextBlock &t2) |
Definition at line 28 of file qtextblock_p.h.
| int Utils::TextBlock::blockNumber | ( | ) | const |
Definition at line 24 of file qtextblock.cpp.
Referenced by Utils::TextCursor::blockNumber(), and operator==.
| TextDocument * Utils::TextBlock::document | ( | ) | const |
Definition at line 74 of file qtextblock.cpp.
Referenced by operator==, and text().
| bool Utils::TextBlock::isValid | ( | ) | const |
Definition at line 14 of file qtextblock.cpp.
Referenced by Utils::TextCursor::block().
| bool Utils::TextBlock::isVisible | ( | ) | const |
| int Utils::TextBlock::length | ( | ) | const |
Definition at line 44 of file qtextblock.cpp.
Referenced by Utils::TextCursor::block(), and text().
| int Utils::TextBlock::lineCount | ( | ) | const |
| TextBlock Utils::TextBlock::next | ( | ) | const |
Definition at line 49 of file qtextblock.cpp.
References Utils::TextDocument::findBlockByNumber().
Referenced by Utils::TextCursor::block().
| int Utils::TextBlock::position | ( | ) | const |
Definition at line 34 of file qtextblock.cpp.
Referenced by Utils::TextCursor::block(), Utils::TextCursor::positionInBlock(), and text().
| TextBlock Utils::TextBlock::previous | ( | ) | const |
Definition at line 54 of file qtextblock.cpp.
References Utils::TextDocument::findBlockByNumber().
| int Utils::TextBlock::revision | ( | ) | const |
Definition at line 84 of file qtextblock.cpp.
| void Utils::TextBlock::setBlockNumber | ( | int | blockNumber | ) |
Definition at line 19 of file qtextblock.cpp.
Referenced by Utils::TextDocument::setPlainText().
| void Utils::TextBlock::setDocument | ( | TextDocument * | document | ) |
Definition at line 69 of file qtextblock.cpp.
Referenced by Utils::TextDocument::setPlainText().
| void Utils::TextBlock::setLength | ( | int | length | ) |
Definition at line 39 of file qtextblock.cpp.
Referenced by Utils::TextDocument::setPlainText().
| void Utils::TextBlock::setLineCount | ( | int | count | ) |
| void Utils::TextBlock::setPosition | ( | int | position | ) |
Definition at line 29 of file qtextblock.cpp.
Referenced by Utils::TextDocument::setPlainText().
| void Utils::TextBlock::setRevision | ( | int | rev | ) |
Definition at line 89 of file qtextblock.cpp.
| void Utils::TextBlock::setUserState | ( | int | state | ) |
Definition at line 64 of file qtextblock.cpp.
References Utils::TextDocument::setUserState().
| void Utils::TextBlock::setVisible | ( | bool | visible | ) |
| QString Utils::TextBlock::text | ( | ) | const |
Definition at line 79 of file qtextblock.cpp.
References document(), length(), and position().
| int Utils::TextBlock::userState | ( | ) | const |
Definition at line 59 of file qtextblock.cpp.
References Utils::TextDocument::userState().
Definition at line 99 of file qtextblock.cpp.
References Utils::operator==().
Definition at line 94 of file qtextblock.cpp.
References blockNumber(), and document().