Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QTextBlock QTextBlock::next (  )  const

Returns the text block in the document after this block, or an empty text block if this is the last one.

Note that the next block may be in a different frame or table to this block.

See also:
previous() begin() end()

Definition at line 1402 of file qtextobject.cpp.

References QTextBlock().

Referenced by QPlainTextDocumentLayout::blockBoundingRect(), QPlainTextDocumentLayout::documentChanged(), QTextDocument::find(), QTextCursor::movePosition(), and QPlainTextEdit::paintEvent().

    if (!p)
        return QTextBlock();

    return QTextBlock(p, p->blockMap().next(n));

Generated by  Doxygen 1.6.0   Back to index