intoOrThrow

inline fun <T> QVariant_?.intoOrThrow(): T

Extract the content of a QVariant in a type-safe manner

Return

value of the QVariant

Throws

if

the value could not be coerced into the given type