KJS::ScheduledAction Class Reference

#include <kjs_window.h>

Public Member Functions

 ScheduledAction (JSObject *_func, const List &_args, const DateTimeMS &_nextTime, int _interval, bool _singleShot, int _timerId)
 ScheduledAction (const QString &_code, const DateTimeMS &_nextTime, int _interval, bool _singleShot, int _timerId)
bool execute (Window *window)
void mark ()

Public Attributes

List args
QString code
bool executing
JSObject * func
int interval
bool isFunction
DateTimeMS nextTime
bool singleShot
int timerId

Detailed Description

An action (either function or string) to be executed after a specified time interval, either once or repeatedly.

Used for window.setTimeout() and window.setInterval()

Definition at line 292 of file kjs_window.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 16 2021 22:48:11 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.