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;
119 Tag::List tags()
const;
125 KDE_DEPRECATED
Collection::List childCollections(
const QString &parentCollectionRid )
const;
135 Item::List items(
const Collection& collection,
bool includePayload =
true )
const;
138 XmlDocumentPrivate *
const d;
Represents a document of the KNUT XML serialization format for Akonadi objects.
Represents a collection of PIM items.
FreeBusyManager::Singleton.
QList< Collection > List
Describes a list of collections.
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sat Jul 14 2018 04:51:07 by
doxygen 1.8.14 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.