Akonadi
xmlwritejob.cpp
81 qDebug() << "Writing " << current.name() << "into" << elementStack.top().attribute(QStringLiteral("name"));
124 XmlWriteJob::XmlWriteJob(const Collection::List &roots, const QString &fileName, QObject *parent)
Represents a document of the KNUT XML serialization format for Akonadi objects.
Definition: xmldocument.h:26
void setErrorText(const QString &errorText)
void result(KJob *job)
Serializes a given Akonadi collection into a XML file.
Definition: xmlwritejob.h:24
Definition: collectionfetchhandler.h:12
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:39
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
@ FirstLevel
Only list direct sub-collections of the base collection.
Definition: collectionfetchjob.h:49
void doStart() override
This method must be reimplemented in the concrete jobs.
Definition: xmlwritejob.cpp:134
AKONADI_XML_EXPORT QDomElement writeItem(const Item &item, QDomElement &parentElem)
Serializes the given item into a DOM element and attaches it to the given item.
Definition: xmlwriter.cpp:111
void emitResult()
int error() const
void setError(int errorCode)
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jul 4 2022 03:53:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jul 4 2022 03:53:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.