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

void QMimeData::setData ( const QString mimetype,
const QByteArray data 
)

Sets the data associated with the MIME type given by mimetype to the specified data.

Definition at line 397 of file qmimedata.cpp.

Referenced by QAbstractItemModel::mimeData().

{
    Q_D(QMimeData);
    d->setData(mimetype, QVariant(data));
}


Generated by  Doxygen 1.6.0   Back to index