Eneboo - Documentación para desarrolladores
|
#include <qsclass.h>
Métodos públicos | |
QSUndefinedClass (QSClass *b) | |
QString | name () const |
. If deletion was not possible, FALSE | |
bool | toBoolean (const QSObject *obj) const |
double | toNumber (const QSObject *obj) const |
QString | toString (const QSObject *) const |
QSObject | toPrimitive (const QSObject *obj, const QSClass *preferred=0) const |
virtual QSEqualsResult | isEqual (const QSObject &a, const QSObject &b) const |
QSUndefinedClass::QSUndefinedClass | ( | QSClass * | b | ) | [inline] |
QSEqualsResult QSUndefinedClass::isEqual | ( | const QSObject & | a, |
const QSObject & | b | ||
) | const [protected, virtual] |
Checks if the two objects are equal. Returns positive if equal, 0 if not equal and negative if the class is unable to determine.
Reimplementado de QSClass.
Returns obj converted to a boolean value.
The default implementation returns TRUE.
Reimplementado de QSClass.
double QSUndefinedClass::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 QSUndefinedClass::toPrimitive | ( | const QSObject * | obj, |
const QSClass * | preferred = 0 |
||
) | const [virtual] |
Reimplementado de QSClass.