Eneboo - Documentación para desarrolladores
|
#include <qsclass.h>
Métodos públicos | |
QSObjectClass (QSEnv *e) | |
QSObjectClass (QSClass *c) | |
void | init () |
QString | name () const |
bool | toBoolean (const QSObject *) const |
double | toNumber (const QSObject *) const |
QString | toString (const QSObject *obj) const |
QSObject | construct () const |
QSObject | construct (const QSList &args) const |
virtual QSObject | cast (const QSList &args) const |
Métodos públicos estáticos | |
static QSObject | toStringScript (QSEnv *env) |
static QSObject | valueOf (QSEnv *env) |
Object class. Has no parents and is the base for Number etc.
QSObjectClass::QSObjectClass | ( | QSEnv * | e | ) |
QSObjectClass::QSObjectClass | ( | QSClass * | c | ) | [inline] |
QSObject QSObjectClass::construct | ( | ) | const |
void QSObjectClass::init | ( | ) |
Reimplementado de QSClass.
Returns obj converted to a boolean value.
The default implementation returns TRUE.
Reimplementado de QSClass.
double QSObjectClass::toNumber | ( | const QSObject * | obj | ) | const [inline, virtual] |
Return obj converted to a floating point number; NaN if the conversion failed.
The default implementation returns NaN.
Reimplementado de QSClass.