|
Nuria Framework - Core
Core module of the NuriaProject Framework
|
Functions | |
| static QVariant | Nuria::Variant::convert (const QVariant &variant, int type) |
| template<typename T > | |
| static QVariant | Nuria::Variant::convert (const QVariant &variant) |
| template<typename T > | |
| static bool | Nuria::Variant::canConvert (const QVariant &variant) |
| static bool | Nuria::Variant::canConvert (const QVariant &variant, int toType) |
| static bool | Nuria::Variant::canConvert (int fromType, int toType) |
|
inlinestatic |
Returns true if the conversion is possible.
|
inlinestatic |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns true if variant can be converted to toType.
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
static |
Tries to convert variant to type. If conversion fails a invalid QVariant is returned.
|
inlinestatic |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1.8.7