I have some confused with type conversion using QVariant.

Qvariant.toInt gives me an int (16 ).
I need QVariant.tolong (32 )

and QVariant (int)
and QVariant (long)

I dont find a method....
Thanks.