akonadi
Functions | |
AKONADI_XML_EXPORT Attribute * | elementToAttribute (const QDomElement &elem) |
AKONADI_XML_EXPORT Collection | elementToCollection (const QDomElement &elem) |
AKONADI_XML_EXPORT Item | elementToItem (const QDomElement &elem, bool includePayload=true) |
AKONADI_XML_EXPORT Tag | elementToTag (const QDomElement &elem) |
AKONADI_XML_EXPORT void | readAttributes (const QDomElement &elem, Entity &entity) |
AKONADI_XML_EXPORT Collection::List | readCollections (const QDomElement &elem) |
AKONADI_XML_EXPORT Tag::List | readTags (const QDomElement &elem) |
Detailed Description
Low-level methods to transform DOM elements into the corresponding Akonadi objects.
- See also
- Akonadi::XmlDocument
Function Documentation
Attribute * Akonadi::XmlReader::elementToAttribute | ( | const QDomElement & | elem | ) |
Converts an attribute element.
Definition at line 31 of file xmlreader.cpp.
Collection Akonadi::XmlReader::elementToCollection | ( | const QDomElement & | elem | ) |
Converts a collection element.
Definition at line 54 of file xmlreader.cpp.
Item Akonadi::XmlReader::elementToItem | ( | const QDomElement & | elem, |
bool | includePayload = true |
||
) |
Converts an item element.
Definition at line 128 of file xmlreader.cpp.
Tag Akonadi::XmlReader::elementToTag | ( | const QDomElement & | elem | ) |
Converts a tag element.
Definition at line 89 of file xmlreader.cpp.
void Akonadi::XmlReader::readAttributes | ( | const QDomElement & | elem, |
Entity & | entity | ||
) |
Reads all attributes that are immediate children of elem
and adds them to entity
.
Definition at line 41 of file xmlreader.cpp.
Collection::List Akonadi::XmlReader::readCollections | ( | const QDomElement & | elem | ) |
Reads recursively all collections starting from the given DOM element.
Definition at line 72 of file xmlreader.cpp.
Tag::List Akonadi::XmlReader::readTags | ( | const QDomElement & | elem | ) |
Reads recursively all tags starting from the given DOM element.
Definition at line 111 of file xmlreader.cpp.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.