KJS::ScriptInterpreter Class Reference

#include <kjs_binding.h>

List of all members.


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 92 of file kjs_binding.h.


Public Member Functions

 ScriptInterpreter (const Object &global, khtml::ChildFrame *frame)
virtual ~ScriptInterpreter ()
DOMObjectgetDOMObject (void *objectHandle) const
void putDOMObject (void *objectHandle, DOMObject *obj)
void customizedDOMObject (DOMObject *obj)
bool deleteDOMObject (void *objectHandle)
void clear ()
virtual void mark ()
KParts::ReadOnlyPartpart () const
virtual int rtti ()
void setCurrentEvent (DOM::Event *evt)
void setInlineCode (bool inlineCode)
void setProcessingTimerCallback (bool timerCallback)
bool isWindowOpenAllowed () const

Static Public Member Functions

static void forgetDOMObject (void *objectHandle)

Member Function Documentation

void ScriptInterpreter::forgetDOMObject ( void *  objectHandle  )  [static]

Static method.

Makes all interpreters forget about the object

Definition at line 179 of file kjs_binding.cpp.

bool ScriptInterpreter::isWindowOpenAllowed (  )  const

"Smart" window.open policy

Definition at line 205 of file kjs_binding.cpp.

void ScriptInterpreter::mark (  )  [virtual]

Mark objects in the DOMObject cache.

Definition at line 190 of file kjs_binding.cpp.

void KJS::ScriptInterpreter::setCurrentEvent ( DOM::Event evt  )  [inline]

Set the event that is triggering the execution of a script, if any.

Definition at line 136 of file kjs_binding.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys