#include <scriptIO.h>
A static class to deal with loading/saving events from/to XML.
Definition at line 39 of file scriptIO.h.
◆ ScriptIO()
◆ ~ScriptIO()
◆ loadEvent()
| void ScriptIO::loadEvent |
( |
TQDomNode & | node, |
|
|
EventList * | list, |
|
|
Form * | form ) |
|
static |
◆ loadFormEvents()
| bool ScriptIO::loadFormEvents |
( |
TQDomNode & | parentNode, |
|
|
Form * | form, |
|
|
ScriptManager * | manager ) |
|
static |
Reads the <events> tag (parentNode), then creates and fills a FormScript object linked to this form. The new FormScript object is then added to ScriptManager list.
Definition at line 50 of file scriptIO.cpp.
◆ saveAllEventsForWidget()
| bool ScriptIO::saveAllEventsForWidget |
( |
TQObject * | widget, |
|
|
FormScript * | fscript, |
|
|
TQDomNode & | node ) |
|
static |
Save only the events related to widget name in the FormScript fscript. Used eg when copying/pasting widgets to keep also events related to it.
Definition at line 71 of file scriptIO.cpp.
◆ saveEvent()
| void ScriptIO::saveEvent |
( |
Event * | event, |
|
|
TQDomNode & | parentNode ) |
|
static |
◆ saveEventList()
| void ScriptIO::saveEventList |
( |
EventList * | list, |
|
|
TQDomNode & | parentNode ) |
|
static |
◆ saveFormEvents()
| bool ScriptIO::saveFormEvents |
( |
TQDomNode & | parentNode, |
|
|
FormScript * | script ) |
|
static |
Save the evnts of a form. Creates an <events> tag, and then one <event> tag for each event. Each event contains <sender> and <receiver> tags, with attributes depending on event type.
Definition at line 30 of file scriptIO.cpp.
The documentation for this class was generated from the following files:
|