24 #ifndef QSCRIPTCLASSOBJECT_P_H 25 #define QSCRIPTCLASSOBJECT_P_H 38 #include <QtCore/qobjectdefs.h> 61 const JSC::Identifier& propertyName,
64 const JSC::Identifier& propertyName,
65 JSC::PropertyDescriptor&);
67 const JSC::Identifier& propertyName,
68 JSC::JSValue, JSC::PutPropertySlot&);
70 const JSC::Identifier& propertyName);
72 JSC::PropertyNameArray&,
73 JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties);
76 static JSC::JSValue JSC_HOST_CALL
call(JSC::ExecState*, JSC::JSObject*,
77 JSC::JSValue,
const JSC::ArgList&);
79 static JSC::JSObject*
construct(JSC::ExecState*, JSC::JSObject*,
83 JSC::JSValue value, JSC::JSValue proto);
static JSC::JSObject * construct(JSC::ExecState *, JSC::JSObject *, const JSC::ArgList &)
ClassObjectDelegate(QScriptClass *scriptClass)
static JSC::JSValue JSC_HOST_CALL call(JSC::ExecState *, JSC::JSObject *, JSC::JSValue, const JSC::ArgList &)
#define QT_END_NAMESPACE
This macro expands to.
The QScriptClass class provides an interface for defining custom behavior of (a class of) Qt Script o...
virtual JSC::ConstructType getConstructData(QScriptObject *, JSC::ConstructData &)
#define QT_BEGIN_NAMESPACE
This macro expands to.
QScriptClass * scriptClass() const
QScriptClass * m_scriptClass
virtual Type type() const
virtual JSC::CallType getCallData(QScriptObject *, JSC::CallData &)
virtual bool getOwnPropertySlot(QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertySlot &)
virtual void put(QScriptObject *, JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue, JSC::PutPropertySlot &)
virtual bool hasInstance(QScriptObject *, JSC::ExecState *, JSC::JSValue value, JSC::JSValue proto)
virtual bool deleteProperty(QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName)
void setScriptClass(QScriptClass *scriptClass)
virtual void getOwnPropertyNames(QScriptObject *, JSC::ExecState *, JSC::PropertyNameArray &, JSC::EnumerationMode mode=JSC::ExcludeDontEnumProperties)
virtual bool getOwnPropertyDescriptor(QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertyDescriptor &)