KJS::Window Class Reference
List of all members.Detailed Description
Definition at line 72 of file kjs_window.h.
Public Types | |
enum | { Closed, Crypto, DefaultStatus, Status, Document, Node, EventCtor, Range, NodeFilter, DOMException, CSSRule, Frames, _History, _External, Event, InnerHeight, InnerWidth, Length, _Location, Navigate, Name, _Navigator, _Konqueror, ClientInformation, OffscreenBuffering, Opener, OuterHeight, OuterWidth, PageXOffset, PageYOffset, Parent, Personalbar, ScreenX, ScreenY, Scrollbars, Scroll, ScrollBy, ScreenTop, ScreenLeft, AToB, BToA, FrameElement, GetComputedStyle, ScrollTo, ScrollX, ScrollY, MoveBy, MoveTo, ResizeBy, ResizeTo, Self, _Window, Top, _Screen, Image, Option, Alert, Confirm, Prompt, Open, SetTimeout, ClearTimeout, XMLHttpRequest, XMLSerializer, DOMParser, Focus, Blur, Close, SetInterval, ClearInterval, CaptureEvents, ReleaseEvents, Print, AddEventListener, RemoveEventListener, SideBar, Onabort, Onblur, Onchange, Onclick, Ondblclick, Ondragdrop, Onerror, Onfocus, Onkeydown, Onkeypress, Onkeyup, Onload, Onmousedown, Onmousemove, Onmouseout, Onmouseover, Onmouseup, Onmove, Onreset, Onresize, Onselect, Onsubmit, Onunload } |
Public Member Functions | |
Window (khtml::ChildFrame *p) | |
~Window () | |
KParts::ReadOnlyPart * | part () const |
virtual void | mark () |
virtual bool | hasProperty (ExecState *exec, const Identifier &p) const |
virtual Value | get (ExecState *exec, const Identifier &propertyName) const |
virtual void | put (ExecState *exec, const Identifier &propertyName, const Value &value, int attr=None) |
virtual bool | toBoolean (ExecState *exec) const |
virtual DOM::AbstractView | toAbstractView () const |
void | scheduleClose () |
void | closeNow () |
void | delayedGoHistory (int steps) |
void | goHistory (int steps) |
void | goURL (ExecState *exec, const QString &url, bool lockHistory) |
Value | openWindow (ExecState *exec, const List &args) |
Value | executeOpenWindow (ExecState *exec, const KURL &url, const QString &frameName, const QString &features) |
void | resizeTo (QWidget *tl, int width, int height) |
void | afterScriptExecution () |
bool | isSafeScript (ExecState *exec) const |
Location * | location () const |
ObjectImp * | frames (ExecState *exec) const |
JSEventListener * | getJSEventListener (const Value &val, bool html=false) |
JSLazyEventListener * | getJSLazyEventListener (const QString &code, const QString &name, DOM::NodeImpl *node) |
void | clear (ExecState *exec) |
virtual UString | toString (ExecState *exec) const |
void | setCurrentEvent (DOM::Event *evt) |
virtual const ClassInfo * | classInfo () const |
void | forgetSuppressedWindows () |
void | showSuppressedWindows () |
Static Public Member Functions | |
static Value | retrieve (KParts::ReadOnlyPart *p) |
static Window * | retrieveWindow (KParts::ReadOnlyPart *p) |
static Window * | retrieveActive (ExecState *exec) |
Public Attributes | |
QPtrDict< JSEventListener > | jsEventListeners |
WindowQObject * | winq |
Static Public Attributes | |
static const ClassInfo | info = { "Window", &DOMAbstractView::info, &WindowTable, 0 } |
Protected Types | |
enum | DelayedActionId { NullAction, DelayedClose, DelayedGoHistory } |
Protected Member Functions | |
Value | getListener (ExecState *exec, int eventId) const |
void | setListener (ExecState *exec, int eventId, Value func) |
Friends | |
class | Location |
class | WindowFunc |
class | WindowQObject |
class | ScheduledAction |
struct | DelayedAction |
QGuardedPtr< KHTMLPart > | getInstance () |
Member Function Documentation
|
Returns and registers a window object. In case there's already a Window for the specified part p this will be returned in order to have unique bindings. Definition at line 374 of file kjs_window.cpp. |
|
returns a pointer to the Window object this javascript interpreting instance was called from.
Definition at line 364 of file kjs_window.cpp. |
|
Returns the Window object for a given part.
Definition at line 345 of file kjs_window.cpp. |
The documentation for this class was generated from the following files: