.TH "KJS::ScriptInterpreter" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KJS::ScriptInterpreter \- We inherit from Interpreter, to save a pointer to the HTML part that the interpreter runs for.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kjs_binding.h>\fP
.PP
Inherits Interpreter.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBScriptInterpreter\fP (const  Object &global, \fBKHTMLPart\fP *part)"
.br
.ti -1c
.RI "\fBDOMObject\fP * \fBgetDOMObject\fP (void *objectHandle) const "
.br
.ti -1c
.RI "void \fBputDOMObject\fP (void *objectHandle, \fBDOMObject\fP *obj)"
.br
.ti -1c
.RI "bool \fBdeleteDOMObject\fP (void *objectHandle)"
.br
.ti -1c
.RI "void \fBclear\fP ()"
.br
.ti -1c
.RI "virtual void \fBmark\fP ()"
.br
.RI "\fIMark objects in the \fBDOMObject\fP cache. \fP"
.ti -1c
.RI "\fBKHTMLPart\fP * \fBpart\fP () const "
.br
.ti -1c
.RI "virtual int \fBrtti\fP ()"
.br
.ti -1c
.RI "void \fBsetCurrentEvent\fP (\fBDOM::Event\fP *evt)"
.br
.RI "\fISet the event that is triggering the execution of a script, if any. \fP"
.ti -1c
.RI "void \fBsetInlineCode\fP (bool inlineCode)"
.br
.ti -1c
.RI "void \fBsetProcessingTimerCallback\fP (bool timerCallback)"
.br
.ti -1c
.RI "bool \fBisWindowOpenAllowed\fP () const "
.br
.RI "\fI'Smart' window.open policy \fP"
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "void \fBforgetDOMObject\fP (void *objectHandle)"
.br
.RI "\fIStatic method. \fP"
.in -1c
.SH "Detailed Description"
.PP 
We inherit from Interpreter, to save a pointer to the HTML part that the interpreter runs for. 

The interpreter also stores the \fBDOM\fP object - >\fBKJS::DOMObject\fP cache. 
.PP
Definition at line 83 of file kjs_binding.h.
.SH "Member Function Documentation"
.PP 
.SS "void ScriptInterpreter::forgetDOMObject (void * objectHandle)\fC [static]\fP"
.PP
Static method. Makes all interpreters forget about the object Definition at line 167 of file kjs_binding.cpp.
.PP
References QPtrListIterator::current().
.SS "void ScriptInterpreter::mark ()\fC [virtual]\fP"
.PP
Mark objects in the \fBDOMObject\fP cache. Definition at line 178 of file kjs_binding.cpp.
.PP
References QPtrDict< DOMObject >::count(), and QPtrDictIterator::current().
.SS "void KJS::ScriptInterpreter::setCurrentEvent (\fBDOM::Event\fP * evt)\fC [inline]\fP"
.PP
Set the event that is triggering the execution of a script, if any. Definition at line 117 of file kjs_binding.h.
.SS "bool ScriptInterpreter::isWindowOpenAllowed () const"
.PP
'Smart' window.open policy Definition at line 189 of file kjs_binding.cpp.
.PP
References DOM::Event::handle().

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
