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

Helper template class to convert QVariants to and from ints. More...

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

Public Member Functions

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

Detailed Description

template<>
class VariantConverter< int >

Helper template class to convert QVariants to and from ints.

See also
VariantConverter for more information.

Member Function Documentation

int VariantConverter< int >::fromVariant ( const QVariant value)
inline

Returns value converted to an int.

Parameters
valueQVariant to convert