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

QTextBlockUserData * QSyntaxHighlighter::currentBlockUserData (  )  const [protected]

Returns the QTextBlockUserData object previously attached to the current text block.

See also:
QTextBlock::userData(), setCurrentBlockUserData()

Definition at line 666 of file qsyntaxhighlighter.cpp.

{
    Q_D(const QSyntaxHighlighter);
    if (!d->currentBlock.isValid())
        return 0;

    return d->currentBlock.userData();
}


Generated by  Doxygen 1.6.0   Back to index