Eneboo - Documentación para desarrolladores
|
#include <quickobjects.h>
Métodos públicos | |
QSPointerClass (QSClass *b) | |
QString | name () const |
double | toNumber (const QSObject *) const |
bool | toBoolean (const QSObject *) const |
QString | debugString (const QSObject *obj) const |
QString | toString (const QSObject *) const |
QVariant | toVariant (const QSObject *obj, QVariant::Type) const |
QSObject | wrapPointer (const char *name, void *p) |
QSObject | wrapPointer (QuickPtrDispatchObject *ptr) |
void * | pointer (const QSObject *obj) const |
const char * | pointerType (const QSObject *obj) const |
QSPointerClass::QSPointerClass | ( | QSClass * | b | ) | [inline] |
Reimplementado de QSWrapperClass.
QString QSPointerClass::name | ( | ) | const [inline, virtual] |
Reimplementado de QSWrapperClass.
void * QSPointerClass::pointer | ( | const QSObject * | obj | ) | const |
const char * QSPointerClass::pointerType | ( | const QSObject * | obj | ) | const |
Returns obj converted to a boolean value.
The default implementation returns TRUE.
Reimplementado de QSWrapperClass.
double QSPointerClass::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.
Return obj converted to a string.
The default implementation returns "[object N]" where N is the name of this class as retrieved by name().
Reimplementado de QSWrapperClass.
QVariant QSPointerClass::toVariant | ( | const QSObject * | obj, |
QVariant::Type | pref | ||
) | const [virtual] |
Convert obj to an equivalent QVariant. The default implementation returns in invalid QVariant which may also be the case where no mapping for an equivalent type exists.
Reimplementado de QSWrapperClass.
QSObject QSPointerClass::wrapPointer | ( | QuickPtrDispatchObject * | ptr | ) |
QSObject QSPointerClass::wrapPointer | ( | const char * | name, |
void * | p | ||
) |