Qt 4.8
Public Functions | List of all members
QScript::QMetaObjectPrototype Class Reference

#include <qscriptqobject_p.h>

Inheritance diagram for QScript::QMetaObjectPrototype:
QScript::QMetaObjectWrapperObject

Public Functions

 QMetaObjectPrototype (JSC::ExecState *, WTF::PassRefPtr< JSC::Structure >, JSC::Structure *prototypeFunctionStructure)
 
- Public Functions inherited from QScript::QMetaObjectWrapperObject
virtual const JSC::ClassInfo * classInfo () const
 
virtual bool deleteProperty (JSC::ExecState *, const JSC::Identifier &propertyName)
 
JSC::JSValue execute (JSC::ExecState *exec, const JSC::ArgList &args)
 
virtual JSC::CallType getCallData (JSC::CallData &)
 
virtual JSC::ConstructType getConstructData (JSC::ConstructData &)
 
virtual bool getOwnPropertyDescriptor (JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertyDescriptor &)
 
virtual void getOwnPropertyNames (JSC::ExecState *, JSC::PropertyNameArray &, JSC::EnumerationMode mode=JSC::ExcludeDontEnumProperties)
 
virtual bool getOwnPropertySlot (JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertySlot &)
 
virtual void markChildren (JSC::MarkStack &markStack)
 
virtual void put (JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue, JSC::PutPropertySlot &)
 
 QMetaObjectWrapperObject (JSC::ExecState *, const QMetaObject *metaobject, JSC::JSValue ctor, WTF::PassRefPtr< JSC::Structure > sid)
 
void setValue (const QMetaObject *value)
 
const QMetaObjectvalue () const
 
 ~QMetaObjectWrapperObject ()
 

Additional Inherited Members

- Static Public Functions inherited from QScript::QMetaObjectWrapperObject
static JSC::JSValue JSC_HOST_CALL call (JSC::ExecState *, JSC::JSObject *, JSC::JSValue, const JSC::ArgList &)
 
static JSC::JSObject * construct (JSC::ExecState *, JSC::JSObject *, const JSC::ArgList &)
 
static WTF::PassRefPtr< JSC::Structure > createStructure (JSC::JSValue prototype)
 
- Static Public Variables inherited from QScript::QMetaObjectWrapperObject
static const JSC::ClassInfo info = { "QMetaObject", 0, 0, 0 }
 
- Protected Variables inherited from QScript::QMetaObjectWrapperObject
Datadata
 
- Static Protected Variables inherited from QScript::QMetaObjectWrapperObject
static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames | JSC::ImplementsHasInstance | JSObject::StructureFlags
 

Detailed Description

Definition at line 311 of file qscriptqobject_p.h.

Constructors and Destructors

◆ QMetaObjectPrototype()

QScript::QMetaObjectPrototype::QMetaObjectPrototype ( JSC::ExecState *  exec,
WTF::PassRefPtr< JSC::Structure >  structure,
JSC::Structure *  prototypeFunctionStructure 
)

Definition at line 2023 of file qscriptqobject.cpp.

2026  : QMetaObjectWrapperObject(exec, StaticQtMetaObject::get(), /*ctor=*/JSC::JSValue(), structure)
2027 {
2028  putDirectFunction(exec, new (exec) JSC::NativeFunctionWrapper(exec, prototypeFunctionStructure, /*length=*/0, JSC::Identifier(exec, "className"), qmetaobjectProtoFuncClassName), JSC::DontEnum);
2029 }
QMetaObjectWrapperObject(JSC::ExecState *, const QMetaObject *metaobject, JSC::JSValue ctor, WTF::PassRefPtr< JSC::Structure > sid)
static const QMetaObject * get()
static JSC::JSValue JSC_HOST_CALL qmetaobjectProtoFuncClassName(JSC::ExecState *exec, JSC::JSObject *, JSC::JSValue thisValue, const JSC::ArgList &)

The documentation for this class was generated from the following files: