kpilot/lib
IDMapperXml Class Reference
List of all members.Detailed Description
Definition at line 35 of file idmapperxml.h.
Public Member Functions | |
IDMapperXml (const QString &file) | |
~IDMapperXml () | |
bool | open () |
void | save () |
void | addMapping (const IDMapping &mapping) |
QValueList< IDMapping > & | mappings () |
bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &attribs) |
bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
Member Function Documentation
|
Adds a mapping to the collection of mappings.
Definition at line 136 of file idmapperxml.cc. |
|
Overloaded function to parse the xml file.
Definition at line 196 of file idmapperxml.cc. |
|
Returns the collection of mappings.
Definition at line 147 of file idmapperxml.cc. |
|
Opens and parses the file or creates a new one if the file does not exist.
Definition at line 40 of file idmapperxml.cc. |
|
Saves the current mappings to the xml-file. Note this function must be called after changes and before deleting the IDMapperXml object. Otherwise the changes won't be saved. Definition at line 82 of file idmapperxml.cc. |
|
Overloaded function to parse the xml file.
Definition at line 152 of file idmapperxml.cc. |
The documentation for this class was generated from the following files: