akonadi
25 #include "akonadi_export.h"
27 #include <kcompositejob.h>
86 class AKONADI_EXPORT
Job :
public KCompositeJob
105 ConnectionFailed = UserDefinedError,
109 UserError = UserDefinedError + 42
121 explicit Job(QObject *parent = 0);
138 virtual QString errorString()
const;
174 virtual void doHandleResponse(
const QByteArray &tag,
const QByteArray &data);
184 virtual bool addSubjob(KJob *job);
191 virtual bool removeSubjob(KJob *job);
196 virtual bool doKill();
202 void emitWriteFinished();
205 virtual void slotResult(KJob *job);
214 Q_DECLARE_PRIVATE(
Job)
217 Q_PRIVATE_SLOT(d_func(),
void slotSubJobAboutToStart(
Akonadi::Job *))
218 Q_PRIVATE_SLOT(d_func(),
void startNext())
219 Q_PRIVATE_SLOT(d_func(),
void signalCreationToJobTracker())
220 Q_PRIVATE_SLOT(d_func(),
void signalStartedToJobTracker())
221 Q_PRIVATE_SLOT(d_func(),
void delayedEmitResult())
QList< Job * > List
Describes a list of jobs.
@ ProtocolVersionMismatch
The server protocol version is too old or too new.
virtual void doStart()=0
This method must be reimplemented in the concrete jobs.
A communication session with the Akonadi storage.
void writeFinished(Akonadi::Job *job)
This signal is emitted if the job has finished all write operations, ie.
Base class for all actions in the Akonadi storage.
Error
Describes the error codes that can be emitted by this class.
@ UserCanceled
The user canceld this job.
void aboutToStart(Akonadi::Job *job)
This signal is emitted directly before the job will be started.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by
doxygen 1.8.18 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.