KJS-API
kjsprototype.cpp
QMap< UString, KJSCustomProperty * > CustomPropertyMap
Definition: kjsprototype.cpp:161
static JSValue * getPropertyValue(ExecState *exec, JSObject *originalObject, const Identifier &, const PropertySlot &sl)
Definition: kjsprototype.cpp:146
KJSObject(* PropertyGetter)(KJSContext *context, void *object)
Function signature for a property getter function.
Definition: kjsprototype.h:70
KJSPrototype()
Constructs a prototype object with its own prototype property set to the Object prototype.
Definition: kjsprototype.cpp:226
void defineProperty(KJSContext *ctx, const QString &name, PropertyGetter getter, PropertySetter setter=0)
Defines a property of this prototype with C++ callback functions for getting and setting the property...
Definition: kjsprototype.cpp:286
KJSGlobalObject constructGlobalObject(void *internalValue=0)
Similar to constructObject() but specialized on the construction of global objects.
Definition: kjsprototype.cpp:278
A class representing a global object of an execution environment.
Definition: kjsobject.h:280
void(* PropertySetter)(KJSContext *context, void *object, KJSObject value)
Function signature for a property setter function.
Definition: kjsprototype.h:75
void defineFunction(KJSContext *ctx, const QString &name, FunctionCall callback)
Define a function.
Definition: kjsprototype.cpp:299
void defineConstant(const QString &name, double value)
Add a read-only numerical property to this object.
Definition: kjsprototype.cpp:239
KJSObject constructObject(KJSContext *ctx, void *internalValue=0)
Construct an object with this prototype and the specified internal value.
Definition: kjsprototype.cpp:263
KJSObject(* FunctionCall)(KJSContext *context, void *object, const KJSArguments &arguments)
Signature for function call callback function.
Definition: kjsprototype.h:92
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.