akonadi
20 #ifndef AKONADI_XMLDOCUMENT_H
21 #define AKONADI_XMLDOCUMENT_H
23 #include "akonadi-xml_export.h"
25 #include <akonadi/collection.h>
26 #include <akonadi/item.h>
28 #include <QtXml/QDomDocument>
32 class XmlDocumentPrivate;
60 bool loadFile(
const QString &fileName );
65 bool writeToFile(
const QString &fileName )
const;
78 QString lastError()
const;
83 QDomDocument& document()
const;
89 KDE_DEPRECATED QDomElement collectionElementByRemoteId(
const QString &rid )
const;
94 QDomElement collectionElement(
const Collection &collection )
const;
99 QDomElement itemElementByRemoteId(
const QString &rid )
const;
104 Collection collectionByRemoteId(
const QString &rid )
const;
109 Item itemByRemoteId(
const QString& rid,
bool includePayload =
true )
const;
120 KDE_DEPRECATED
Collection::List childCollections(
const QString &parentCollectionRid )
const;
130 Item::List items(
const Collection& collection,
bool includePayload =
true )
const;
133 XmlDocumentPrivate *
const d;
Represents a document of the KNUT XML serialization format for Akonadi objects.
Represents a collection of PIM items.
QList< Collection > List
Describes a list of collections.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.