KoMacro::XMLHandler Class Reference
#include <xmlhandler.h>
Inheritance diagram for KoMacro::XMLHandler:
Public Member Functions | |
| XMLHandler (Macro *const macro) | |
| ~XMLHandler () | |
| bool | parseXML (const TQDomElement &element) |
| TQDomElement | toXML () |
Detailed Description
The XMLHandler class manages the (un-)serialization of a Macro instance to/from XML.
Definition at line 37 of file xmlhandler.h.
Constructor & Destructor Documentation
◆ XMLHandler()
| XMLHandler::XMLHandler | ( | Macro *const | macro | ) |
Constructor to init a XMLHandler .
- Parameters
-
macro The Macro instance which will be managed.
Definition at line 60 of file xmlhandler.cpp.
◆ ~XMLHandler()
| XMLHandler::~XMLHandler | ( | ) |
Destructor to XMLHandler .
Definition at line 65 of file xmlhandler.cpp.
Member Function Documentation
◆ parseXML()
| bool XMLHandler::parseXML | ( | const TQDomElement & | element | ) |
Reads a given TQDomElement, extracts given Actions into the managed Macro-Instance.
- Parameters
-
element The TQDomElement within the Macro.
- Returns
- Return true when parsing is successfull.
Definition at line 70 of file xmlhandler.cpp.
◆ toXML()
| TQDomElement XMLHandler::toXML | ( | ) |
Converts the macro to a TQDomElement.
- Returns
- The resulten TQDomElement from the Macro.
Definition at line 142 of file xmlhandler.cpp.
The documentation for this class was generated from the following files:
