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

bool QPlainTextEdit::canInsertFromMimeData ( const QMimeData source  )  const [protected, virtual]

This function returns true if the contents of the MIME data object, specified by source, can be decoded and inserted into the document. It is called for example when during a drag operation the mouse enters this widget and it is necessary to determine whether it is possible to accept the drag.

Definition at line 2323 of file qplaintextedit.cpp.

    Q_D(const QPlainTextEdit);
    return d->control->QTextControl::canInsertFromMimeData(source);

Generated by  Doxygen 1.6.0   Back to index