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

QByteArray QVariant::toByteArray (  )  const

Returns the variant as a QByteArray if the variant has type() ByteArray; otherwise returns an empty bytearray.

Referenced by QAbstractFormBuilder::createProperty(), QMimeData::data(), QSqlDriver::formatValue(), and QMetaProperty::write().


Generated by  Doxygen 1.6.0   Back to index