akonadi
Functions | |
AKONADI_XML_EXPORT QDomElement | attributeToElement (Attribute *attr, QDomDocument &document) |
AKONADI_XML_EXPORT QDomElement | collectionToElement (const Collection &collection, QDomDocument &document) |
AKONADI_XML_EXPORT QDomElement | itemToElement (const Item &item, QDomDocument &document) |
AKONADI_XML_EXPORT void | writeAttributes (const Entity &entity, QDomElement &parentElem) |
AKONADI_XML_EXPORT QDomElement | writeCollection (const Collection &collection, QDomElement &parentElem) |
AKONADI_XML_EXPORT QDomElement | writeItem (const Akonadi::Item &item, QDomElement &parentElem) |
Detailed Description
Low-level methods to serialize Akonadi objects into XML.
- See also
- Akonadi::XmlDocument
Function Documentation
QDomElement Akonadi::XmlWriter::attributeToElement | ( | Attribute * | attr, |
QDomDocument & | document | ||
) |
Creates an attribute element for the given document.
Definition at line 32 of file xmlwriter.cpp.
QDomElement Akonadi::XmlWriter::collectionToElement | ( | const Collection & | collection, |
QDomDocument & | document | ||
) |
Creates a collection element for the given document, not yet attached to the DOM tree.
Definition at line 55 of file xmlwriter.cpp.
AKONADI_XML_EXPORT QDomElement Akonadi::XmlWriter::itemToElement | ( | const Item & | item, |
QDomDocument & | document | ||
) |
Creates an item element for the given document, not yet attached to the DOM tree.
void Akonadi::XmlWriter::writeAttributes | ( | const Entity & | entity, |
QDomElement & | parentElem | ||
) |
Serializes all attributes of the given Akonadi object into the given parent element.
Definition at line 45 of file xmlwriter.cpp.
QDomElement Akonadi::XmlWriter::writeCollection | ( | const Collection & | collection, |
QDomElement & | parentElem | ||
) |
Serializes the given collection into a DOM element with the given parent.
Definition at line 69 of file xmlwriter.cpp.
AKONADI_XML_EXPORT QDomElement Akonadi::XmlWriter::writeItem | ( | const Akonadi::Item & | item, |
QDomElement & | parentElem | ||
) |
Serializes the given item into a DOM element and attaches it to the given item.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.