Changeset 846 for trunk/src/script/bridge/qscriptglobalobject_p.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/script/bridge/qscriptglobalobject_p.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 55 55 const JSC::Identifier& propertyName, 56 56 JSC::PropertySlot&); 57 58 59 57 60 virtual void put(JSC::ExecState* exec, const JSC::Identifier& propertyName, 58 61 JSC::JSValue, JSC::PutPropertySlot&); … … 60 63 JSC::JSValue value, unsigned attributes); 61 64 virtual bool deleteProperty(JSC::ExecState*, 62 const JSC::Identifier& propertyName, 63 bool checkDontDelete = true); 64 virtual bool getPropertyAttributes(JSC::ExecState*, const JSC::Identifier&, 65 unsigned&) const; 65 const JSC::Identifier& propertyName); 66 66 virtual void getOwnPropertyNames(JSC::ExecState*, JSC::PropertyNameArray&, 67 bool includeNonEnumerable = false);67 ); 68 68 virtual void defineGetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* getterFunction, unsigned attributes = 0); 69 69 virtual void defineSetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* setterFunction, unsigned attributes = 0); … … 95 95 JSC::PropertySlot& slot) 96 96 { return originalGlobalObject->JSC::JSGlobalObject::getOwnPropertySlot(exec, propertyName, slot); } 97 98 99 100 97 101 virtual void put(JSC::ExecState* exec, const JSC::Identifier& propertyName, 98 102 JSC::JSValue value, JSC::PutPropertySlot& slot) … … 101 105 { originalGlobalObject->JSC::JSGlobalObject::putWithAttributes(exec, propertyName, value, attributes); } 102 106 virtual bool deleteProperty(JSC::ExecState* exec, 103 const JSC::Identifier& propertyName, bool checkDontDelete = true) 104 { return originalGlobalObject->JSC::JSGlobalObject::deleteProperty(exec, propertyName, checkDontDelete); } 105 virtual bool getPropertyAttributes(JSC::ExecState* exec, const JSC::Identifier& propertyName, 106 unsigned& attributes) const 107 { return originalGlobalObject->JSC::JSGlobalObject::getPropertyAttributes(exec, propertyName, attributes); } 108 virtual void getOwnPropertyNames(JSC::ExecState* exec, JSC::PropertyNameArray& propertyNames, bool includeNonEnumerable = false) 109 { originalGlobalObject->JSC::JSGlobalObject::getOwnPropertyNames(exec, propertyNames, includeNonEnumerable); } 107 const JSC::Identifier& propertyName) 108 { return originalGlobalObject->JSC::JSGlobalObject::deleteProperty(exec, propertyName); } 109 virtual void getOwnPropertyNames(JSC::ExecState* exec, JSC::PropertyNameArray& propertyNames, JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties) 110 { originalGlobalObject->JSC::JSGlobalObject::getOwnPropertyNames(exec, propertyNames, mode); } 110 111 virtual void defineGetter(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::JSObject* getterFunction, unsigned attributes) 111 112 { originalGlobalObject->JSC::JSGlobalObject::defineGetter(exec, propertyName, getterFunction, attributes); }
Note:
See TracChangeset
for help on using the changeset viewer.