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

void QPlainTextEdit::print ( QPrinter printer  )  const

Convenience function to print the text edit's document to the given printer. This is equivalent to calling the print method on the document directly except that this function also supports QPrinter::Selection as print range.

See also:
QTextDocument::print()

Definition at line 2478 of file qplaintextedit.cpp.

{
    Q_D(const QPlainTextEdit);
    d->control->print(printer);
}


Generated by  Doxygen 1.6.0   Back to index