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

QTextDocument * QTextEdit::document (  )  const

Returns a pointer to the underlying document.

See also:
setDocument()

Definition at line 793 of file qtextedit.cpp.

Referenced by QAccessibleTextEdit::childCount(), keyPressEvent(), QSyntaxHighlighter::QSyntaxHighlighter(), and QAccessibleTextEdit::rect().

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


Generated by  Doxygen 1.6.0   Back to index