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>

List of all members.

Public Methods

virtual void mark ()
void setCurrentEvent (DOM::Event *evt)
bool isWindowOpenAllowed () const

Static Public Methods

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

void ScriptInterpreter::forgetDOMObject void *    objectHandle [static]
 

Static method.

Makes all interpreters forget about the object

Definition at line 170 of file kjs_binding.cpp.

References QPtrListIterator::current().

void ScriptInterpreter::mark   [virtual]
 

Mark objects in the DOMObject cache.

Definition at line 181 of file kjs_binding.cpp.

References QPtrDict< DOMObject >::count(), and QPtrDictIterator::current().

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

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

Definition at line 120 of file kjs_binding.h.

bool ScriptInterpreter::isWindowOpenAllowed  
 

"Smart" window.open policy

Definition at line 192 of file kjs_binding.cpp.

References DOM::Event::handle().


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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 22 14:26:14 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003