KJS::ScriptInterpreter Class Reference
We inherit from Interpreter, to save a pointer to the HTML part that the interpreter runs for. More...
#include <kjs_binding.h>
Public Member Functions | |
| ScriptInterpreter (const Object &global, KHTMLPart *part) | |
| DOMObject * | getDOMObject (void *objectHandle) const |
| void | putDOMObject (void *objectHandle, DOMObject *obj) |
| bool | deleteDOMObject (void *objectHandle) |
| void | clear () |
| virtual void | mark () |
| KHTMLPart * | part () const |
| virtual int | rtti () |
| void | setCurrentEvent (DOM::Event *evt) |
| void | setInlineCode (bool inlineCode) |
| void | setProcessingTimerCallback (bool timerCallback) |
| bool | isWindowOpenAllowed () const |
Static Public Member Functions | |
| void | forgetDOMObject (void *objectHandle) |
Detailed Description
We inherit from Interpreter, to save a pointer to the HTML part that the interpreter runs for.The interpreter also stores the DOM object - >KJS::DOMObject cache.
Definition at line 86 of file kjs_binding.h.
Member Function Documentation
|
|
Static method. Makes all interpreters forget about the object Definition at line 170 of file kjs_binding.cpp. References QPtrListIterator::current(). |
|
|
Mark objects in the DOMObject cache.
Definition at line 181 of file kjs_binding.cpp. References QPtrDict< DOMObject >::count(), QPtrDictIterator::current(), endl(), and kdDebug(). |
|
|
Set the event that is triggering the execution of a script, if any.
Definition at line 120 of file kjs_binding.h. |
|
|
"Smart" window.open policy
Definition at line 192 of file kjs_binding.cpp. References endl(), DOM::Event::handle(), and kdDebug(). |
The documentation for this class was generated from the following files:
