See QVariant::canConvert docs for the table of available conversions.