QVariant

Various type conversions are supported when you are using new QVariant instance with a Qore variable in the constructor.

Returning values of methods are kept as QVariant instances. It's up developer how he converts QVariant into specialized variable type (toBool, toInt, toDate, etc. methods are available).

There is introduced new method:

QVariant::toQore()

It does automatic conversion of QVariant object to native Qore object. It just gues the type using the Qore type weakness.