Akonadi
xmlwritejob.cpp
81 qDebug() << "Writing " << current.name() << "into" << elementStack.top().attribute(QStringLiteral("name"));
124XmlWriteJob::XmlWriteJob(const Collection::List &roots, const QString &fileName, QObject *parent)
Job that fetches collections from the Akonadi storage.
Definition collectionfetchjob.h:39
@ FirstLevel
Only list direct sub-collections of the base collection.
Definition collectionfetchjob.h:48
Represents a document of the KNUT XML serialization format for Akonadi objects.
Definition xmldocument.h:27
Serializes a given Akonadi collection into a XML file.
Definition xmlwritejob.h:25
void doStart() override
This method must be reimplemented in the concrete jobs.
Definition xmlwritejob.cpp:134
void setErrorText(const QString &errorText)
void emitResult()
int error() const
void result(KJob *job)
void setError(int errorCode)
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:112
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:70
Helper integration between Akonadi and Qt.
QString attribute(const QString &name, const QString &defValue) const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
T pop()
void push(const T &t)
T & top()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:01:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:01:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.