akonadi
xmlwritejob.cpp
91 kDebug() << "Writing " << current.name() << "into" << elementStack.top().attribute( QLatin1String("name") );
93 CollectionFetchJob *subfetch = new CollectionFetchJob( current, CollectionFetchJob::FirstLevel, q );
129 XmlWriteJob::XmlWriteJob(const Collection::List& roots, const QString& fileName, QObject* parent) :
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:175
void fetchAllAttributes(bool fetch=true)
Sets whether all available attributes should be fetched.
Definition: itemfetchscope.cpp:91
Serializes a given Akonadi collection into a XML file.
Definition: xmlwritejob.h:35
Only list direct sub-collections of the base collection.
Definition: collectionfetchjob.h:63
Represents a document of the KNUT XML serialization format for Akonadi objects.
Definition: xmldocument.h:37
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:53
AKONADI_XML_EXPORT QDomElement writeCollection(const Collection &collection, QDomElement &parentElem)
Serializes the given collection into a DOM element with the given parent.
Definition: xmlwriter.cpp:69
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition: itemfetchscope.cpp:68
void doStart()
This method must be reimplemented in the concrete jobs.
Definition: xmlwritejob.cpp:143
AKONADI_XML_EXPORT QDomElement 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:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
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.