kexi

KoMacro::XMLHandler Class Reference

#include <xmlhandler.h>

Inheritance diagram for KoMacro::XMLHandler:

KoMacro::Macro

List of all members.


Detailed Description

The XMLHandler class manages the (un-)serialization of a Macro instance to/from XML.

Definition at line 37 of file xmlhandler.h.


Public Member Functions

 XMLHandler (Macro *const macro)
 ~XMLHandler ()
bool parseXML (const QDomElement &element)
QDomElement toXML ()

Constructor & Destructor Documentation

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 (  ) 

Destructor to XMLHandler .

Definition at line 65 of file xmlhandler.cpp.


Member Function Documentation

bool XMLHandler::parseXML ( const QDomElement &  element  ) 

Reads a given QDomElement, extracts given Actions into the managed Macro-Instance.

Parameters:
element The QDomElement within the Macro.
Returns:
Return true when parsing is successfull.

Definition at line 70 of file xmlhandler.cpp.

QDomElement XMLHandler::toXML (  ) 

Converts the macro to a QDomElement.

Returns:
The resulten QDomElement from the Macro.

Definition at line 142 of file xmlhandler.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys