VoltAir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
List of all members
VariantConverter< T > Class Template Reference

Helper template class to convert QVariants to and from a specific type, for example, QPointFs. More...

Inheritance diagram for VariantConverter< T >:
VariantConverterBase< T >

Additional Inherited Members

- Public Member Functions inherited from VariantConverterBase< T >
QVariant toVariant (const T &value)
 Returns value converted as a QVariant. More...
 

Detailed Description

template<typename T>
class VariantConverter< T >

Helper template class to convert QVariants to and from a specific type, for example, QPointFs.

Note
Template specializations perform the conversions of QVariants to specific types, while the unspecialized class only performs conversion from specific types to QVariants.
Template Parameters
Templatetype to convert to and from QVariant