akonadi
Akonadi::XmlWriteJob Class Reference
#include <xmlwritejob.h>
Inheritance diagram for Akonadi::XmlWriteJob:

Public Member Functions | |
XmlWriteJob (const Collection &root, const QString &fileName, QObject *parent=0) | |
XmlWriteJob (const QList< Collection > &roots, const QString &fileName, QObject *parent=0) | |
![]() | |
Job (QObject *parent=0) | |
virtual | ~Job () |
virtual QString | errorString () const |
void | start () |
Protected Member Functions | |
void | doStart () |
![]() | |
virtual bool | addSubjob (KJob *job) |
virtual void | doHandleResponse (const QByteArray &tag, const QByteArray &data) |
virtual bool | doKill () |
void | emitWriteFinished () |
virtual bool | removeSubjob (KJob *job) |
Additional Inherited Members | |
![]() | |
enum | Error { ConnectionFailed = UserDefinedError , ProtocolVersionMismatch , UserCanceled , Unknown , UserError = UserDefinedError + 42 } |
typedef QList< Job * > | List |
![]() | |
void | aboutToStart (Akonadi::Job *job) |
void | writeFinished (Akonadi::Job *job) |
![]() | |
virtual void | slotResult (KJob *job) |
Detailed Description
Serializes a given Akonadi collection into a XML file.
Definition at line 35 of file xmlwritejob.h.
Constructor & Destructor Documentation
◆ XmlWriteJob()
XmlWriteJob::XmlWriteJob | ( | const Collection & | root, |
const QString & | fileName, | ||
QObject * | parent = 0 ) |
Definition at line 120 of file xmlwritejob.cpp.
◆ ~XmlWriteJob()
XmlWriteJob::~XmlWriteJob | ( | ) |
Definition at line 138 of file xmlwritejob.cpp.
Member Function Documentation
◆ doStart()
|
protectedvirtual |
This method must be reimplemented in the concrete jobs.
It will be called after the job has been started and a connection to the Akonadi backend has been established.
Implements Akonadi::Job.
Definition at line 143 of file xmlwritejob.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.