VoltAir
|
Helper template class to convert QVariantLists to and from QSets with a convertable value type T
.
More...
Public Member Functions | |
QSet< T > | fromVariant (const QVariant &value) |
Returns value converted to a QSet<T>. More... | |
QVariant | toVariant (const QSet< T > &value) |
Returns value converted to a QVariant of type QVariantList. More... | |
Helper template class to convert QVariantLists to and from QSets with a convertable value type T
.
Template | type which can be converted by VariantConverter to and from a QVariant |
|
inline |
Returns value
converted to a QSet<T>.
Template | type for which there needs to be a valid VariantConverter specialization. |
value | QVariant of type QVariantList to convert |
|
inline |
Returns value
converted to a QVariant of type QVariantList.
Template | type for which there needs to be a valid VariantConverter specialization. |
value | Templated QSet to convert |