Search for usage in LXR

KJS::ScheduledAction Class Reference

#include <kjs_window.h>

Public Member Functions

 ScheduledAction (const QString &_code, const DateTimeMS &_nextTime, int _interval, bool _singleShot, int _timerId)
 ScheduledAction (JSObject *_func, const List &_args, 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-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:57:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.