Qt 4.8
|
#include <qscriptvariant_p.h>
Public Functions | |
virtual bool | compareToObject (QScriptObject *, JSC::ExecState *, JSC::JSObject *) |
QVariantDelegate (const QVariant &value) | |
void | setValue (const QVariant &value) |
Type | type () const |
QVariant & | value () |
~QVariantDelegate () | |
Public Functions inherited from QScriptObjectDelegate | |
virtual bool | deleteProperty (QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName) |
virtual JSC::CallType | getCallData (QScriptObject *, JSC::CallData &) |
virtual JSC::ConstructType | getConstructData (QScriptObject *, JSC::ConstructData &) |
virtual bool | getOwnPropertyDescriptor (QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertyDescriptor &) |
virtual void | getOwnPropertyNames (QScriptObject *, JSC::ExecState *, JSC::PropertyNameArray &, JSC::EnumerationMode mode=JSC::ExcludeDontEnumProperties) |
virtual bool | getOwnPropertySlot (QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertySlot &) |
virtual bool | hasInstance (QScriptObject *, JSC::ExecState *, JSC::JSValue value, JSC::JSValue proto) |
virtual void | markChildren (QScriptObject *, JSC::MarkStack &markStack) |
virtual void | put (QScriptObject *, JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue, JSC::PutPropertySlot &) |
QScriptObjectDelegate () | |
virtual | ~QScriptObjectDelegate () |
Properties | |
QVariant | m_value |
Additional Inherited Members | |
Public Types inherited from QScriptObjectDelegate | |
enum | Type { QtObject, Variant, ClassObject, DeclarativeClassObject } |
Definition at line 47 of file qscriptvariant_p.h.
QScript::QVariantDelegate::QVariantDelegate | ( | const QVariant & | value | ) |
Definition at line 47 of file qscriptvariant.cpp.
QScript::QVariantDelegate::~QVariantDelegate | ( | ) |
Definition at line 52 of file qscriptvariant.cpp.
|
virtual |
Reimplemented from QScriptObjectDelegate.
Definition at line 132 of file qscriptvariant.cpp.
void QScript::QVariantDelegate::setValue | ( | const QVariant & | value | ) |
Definition at line 61 of file qscriptvariant.cpp.
|
virtual |
Implements QScriptObjectDelegate.
Definition at line 66 of file qscriptvariant.cpp.
QVariant & QScript::QVariantDelegate::value | ( | ) |
Definition at line 56 of file qscriptvariant.cpp.
Referenced by compareToObject(), setValue(), QScript::variantProtoFuncToString(), and QScript::variantProtoFuncValueOf().
|
private |
Definition at line 61 of file qscriptvariant_p.h.
Referenced by setValue(), and value().