Eneboo - Documentación para desarrolladores
|
#include <quickobjects.h>
Métodos públicos | |
QSVariantClass (QSClass *b) | |
QString | name () const |
virtual bool | member (const QSObject *objPtr, const QString &n, QSMember *m) const |
virtual QSObject | fetchValue (const QSObject *objPtr, const QSMember &mem) const |
virtual void | write (QSObject *objPtr, const QSMember &mem, const QSObject &val) const |
bool | toBoolean (const QSObject *) const |
double | toNumber (const QSObject *) const |
QString | toString (const QSObject *) const |
QSObject | toPrimitive (const QSObject *obj, const QSClass *preferred) const |
QVariant | toVariant (const QSObject *obj, QVariant::Type) const |
QString | debugString (const QSObject *obj) const |
QSObject | construct (const QVariant &v, const QMetaProperty *m) const |
QSObject | construct (const QSList &args) const |
QVariant * | variant (const QSObject *) const |
QSVariantShared * | shared (const QSObject *obj) const |
Métodos protegidos | |
virtual QSObject | invoke (QSObject *objPtr, const QSMember &mem) const |
QSVariantClass::QSVariantClass | ( | QSClass * | b | ) | [inline] |
QSObject QSVariantClass::construct | ( | const QVariant & | v, |
const QMetaProperty * | m | ||
) | const |
Reimplementado de QSClass.
Reimplementado de QSClass.
QSObject QSVariantClass::fetchValue | ( | const QSObject * | objPtr, |
const QSMember & | mem | ||
) | const [virtual] |
Reimplementado de QSClass.
QSObject QSVariantClass::invoke | ( | QSObject * | objPtr, |
const QSMember & | mem | ||
) | const [protected, virtual] |
Reimplementado de QSClass.
Retrieves a pointer to the class member n; 0 if no such member exists.
Reimplementado de QSClass.
QSVariantShared * QSVariantClass::shared | ( | const QSObject * | obj | ) | const |
Returns obj converted to a boolean value.
The default implementation returns TRUE.
Reimplementado de QSClass.
double QSVariantClass::toNumber | ( | const QSObject * | obj | ) | const [virtual] |
Return obj converted to a floating point number; NaN if the conversion failed.
The default implementation returns NaN.
Reimplementado de QSClass.
QSObject QSVariantClass::toPrimitive | ( | const QSObject * | obj, |
const QSClass * | preferred | ||
) | const [virtual] |
Reimplementado de QSClass.
QVariant QSVariantClass::toVariant | ( | const QSObject * | obj, |
QVariant::Type | pref | ||
) | const [virtual] |
void QSVariantClass::write | ( | QSObject * | objPtr, |
const QSMember & | mem, | ||
const QSObject & | val | ||
) | const [virtual] |
Reimplementado de QSClass.