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

void QMimeData::setImageData ( const QVariant image  ) 

Sets the data in the object to the given image.

Definition at line 340 of file qmimedata.cpp.

Referenced by QClipboard::setImage(), and QClipboard::setPixmap().

{
    Q_D(QMimeData);
    d->setData(QLatin1String("application/x-qt-image"), image);
}


Generated by  Doxygen 1.6.0   Back to index