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

QTextDocument * QPlainTextEdit::document (  )  const

Returns a pointer to the underlying document.

See also:
setDocument()

Definition at line 1322 of file qplaintextedit.cpp.

Referenced by blockBoundingRect(), keyPressEvent(), and paintEvent().

{
    Q_D(const QPlainTextEdit);
    return d->control->document();
}


Generated by  Doxygen 1.6.0   Back to index