khtml Library API Documentation

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>

Collaboration diagram for KJS::ScriptInterpreter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScriptInterpreter (const Object &global, khtml::ChildFrame *frame)
DOMObjectgetDOMObject (void *objectHandle) const
void putDOMObject (void *objectHandle, 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

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


Member Function Documentation

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

Static method.

Makes all interpreters forget about the object

Definition at line 172 of file kjs_binding.cpp.

void ScriptInterpreter::mark  )  [virtual]
 

Mark objects in the DOMObject cache.

Definition at line 183 of file kjs_binding.cpp.

References kdDebug().

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

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

Definition at line 127 of file kjs_binding.h.

bool ScriptInterpreter::isWindowOpenAllowed  )  const
 

"Smart" window.open policy

Definition at line 198 of file kjs_binding.cpp.

References DOM::Event::handle(), and kdDebug().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for khtml Library Version 3.4.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 28 01:41:55 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003