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

QTextBlockFormat QTextCursor::blockFormat (  )  const

Returns the block format of the block the cursor is in.

See also:
setBlockFormat() charFormat()

Definition at line 1563 of file qtextcursor.cpp.

Referenced by currentList(), insertBlock(), insertText(), QPlainTextEdit::keyReleaseEvent(), and QTextEdit::keyReleaseEvent().

    if (!d || !d->priv)
        return QTextBlockFormat();

    return d->block().blockFormat();

Generated by  Doxygen 1.6.0   Back to index