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

bool QMimeData::hasImage (  )  const

Returns true if the object can return an image; otherwise returns false.

See also:
setImageData(), imageData(), hasFormat()

Definition at line 448 of file qmimedata.cpp.

References hasFormat().

{
    return hasFormat(QLatin1String("application/x-qt-image"));
}


Generated by  Doxygen 1.6.0   Back to index