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

bool QMimeData::hasText (  )  const

Returns true if the object can return text otherwise returns false.

Definition at line 294 of file qmimedata.cpp.

References hasFormat().

Referenced by QTextEdit::canInsertFromMimeData().

{
    return hasFormat(QLatin1String("text/plain"));
}


Generated by  Doxygen 1.6.0   Back to index