src/script/bridge/qscriptqobject_p.h
branchRCL_3
changeset 14 c0432d11811c
parent 4 3b1da2848fc7
child 30 5dc02b23752f
equal deleted inserted replaced
13:cc75c76972ee 14:c0432d11811c
   302     inline const QMetaObject *value() const { return data->value; }
   302     inline const QMetaObject *value() const { return data->value; }
   303     inline void setValue(const QMetaObject* value) { data->value = value; }
   303     inline void setValue(const QMetaObject* value) { data->value = value; }
   304 
   304 
   305     static WTF::PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
   305     static WTF::PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
   306     {
   306     {
   307         return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
   307         return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::ImplementsHasInstance));
   308     }
   308     }
   309 
   309 
   310 protected:
   310 protected:
   311     Data *data;
   311     Data *data;
   312 };
   312 };