#include <rtkvariant.h>
Public Types | |
enum | Type { Invalid, tBool, tInt, tUInt, tDouble, tString, tDate, tTime, tDateTime, tColor, tImage, tByteArray, tMoney, tCFunctionType, tVariantRef } |
Public Member Functions | |
Variant (Variant *val) | |
Variant (const Variant &val) | |
Variant (bool val) | |
Variant (int val) | |
Variant (uint val) | |
Variant (long val) | |
Variant (double val) | |
Variant (const QString &val) | |
Variant (const char *val) | |
Variant (const QDate &val) | |
Variant (const QTime &val) | |
Variant (const QDateTime &val) | |
Variant (const QColor &val) | |
Variant (const QImage &val) | |
Variant (const QByteArray &val) | |
Variant (const Money &val) | |
Variant (const QVariant &val) | |
bool | toBool () const |
int | toInt (bool *ok=0) const |
uint | toUInt (bool *ok=0) const |
double | toDouble (bool *ok=0) const |
Measure | toMeasure (bool *ok=0) const |
const QString | toString () const |
const QDate | toDate () const |
const QTime | toTime () const |
const QDateTime | toDateTime () const |
const QColor | toColor () const |
const QImage * | toImage () const |
const QByteArray | toByteArray () const |
const Money | toMoney (bool *ok=0) const |
const BorderStyle | toBorderStyle () const |
const AlignmentType | toAlignmentType () const |
const AdjustmentType | toAdjustmentType () const |
Type | type () const |
Variant & | operator+= (const Variant &) |
Variant & | operator= (const Variant &val) |
bool | operator== (const Variant &) const |
bool | operator!= (const Variant &) const |
const char * | typeName () const |
bool | canCast (Type) const |
bool | isValid () const |
bool | isNull () const |
Static Public Member Functions | |
const char * | typeToName (Type typ) |
Type | nameToType (const char *name) |
bool | isNumeric (Type type) |
Type | QVariantTypeToVariantType (QVariant::Type val) |
This is not the definitive release of variant and is subject to change.