#include <activity.h>
|
| | Events () |
| |
| void | clear () |
| | clear the list of events More...
|
| |
| void | setup (QJSValue &js_value, QStringList event_names) |
| | setup events from the javascript object More...
|
| |
| QJSValue | run (const QString event, FMStand *stand, QJSValueList *params=0) |
| | execute javascript event /if registered) in the context of the forest stand 'stand'. More...
|
| |
| bool | hasEvent (const QString &event) const |
| | returns true, if the event 'event' is available. More...
|
| |
| QString | dump () |
| | prints some debug info More...
|
| |
◆ Events()
◆ clear()
| void ABE::Events::clear |
( |
| ) |
|
◆ dump()
| QString ABE::Events::dump |
( |
| ) |
|
◆ hasEvent()
| bool ABE::Events::hasEvent |
( |
const QString & |
event | ) |
const |
returns true, if the event 'event' is available.
◆ run()
| QJSValue ABE::Events::run |
( |
const QString |
event, |
|
|
FMStand * |
stand, |
|
|
QJSValueList * |
params = 0 |
|
) |
| |
execute javascript event /if registered) in the context of the forest stand 'stand'.
◆ setup()
| void ABE::Events::setup |
( |
QJSValue & |
js_value, |
|
|
QStringList |
event_names |
|
) |
| |
setup events from the javascript object
The documentation for this class was generated from the following files: