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

void QPlainTextEdit::insertFromMimeData ( const QMimeData source  )  [protected, virtual]

This function inserts the contents of the MIME data object, specified by source, into the text edit at the current cursor position. It is called whenever text is inserted as the result of a clipboard paste operation, or when the text edit accepts data from a drag and drop operation.

Definition at line 2336 of file qplaintextedit.cpp.

{
    Q_D(QPlainTextEdit);
    d->control->QTextControl::insertFromMimeData(source);
}


Generated by  Doxygen 1.6.0   Back to index