• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • XmlWriter
Functions
Akonadi::XmlWriter Namespace Reference

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.

This file is part of the KDE documentation.
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.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal