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

QVariant QMimeData::imageData (  )  const

Returns an image variant if the data stored in the object is in the correct form; otherwise returns an invalid variant.

Definition at line 331 of file qmimedata.cpp.

Referenced by QClipboard::image(), and QClipboard::pixmap().

    Q_D(const QMimeData);
    return d->retrieveTypedData(QLatin1String("application/x-qt-image"), QVariant::Image);

Generated by  Doxygen 1.6.0   Back to index