akonadi
25 #include "akonadi_export.h"
27 #include <kcompositejob.h>
86 class AKONADI_EXPORT
Job :
public KCompositeJob
106 ConnectionFailed = UserDefinedError,
110 UserError = UserDefinedError + 42
122 explicit Job( QObject *parent = 0 );
139 virtual QString errorString()
const;
165 virtual void doStart() = 0;
175 virtual void doHandleResponse(
const QByteArray &tag,
const QByteArray &data );
185 virtual bool addSubjob( KJob* job );
192 virtual bool removeSubjob( KJob* job );
197 virtual bool doKill();
203 void emitWriteFinished();
206 virtual void slotResult( KJob* job );
215 Q_DECLARE_PRIVATE(
Job )
218 Q_PRIVATE_SLOT( d_func(),
void slotSubJobAboutToStart( Akonadi::
Job* ) )
219 Q_PRIVATE_SLOT( d_func(),
void startNext() )
220 Q_PRIVATE_SLOT( d_func(),
void signalCreationToJobTracker() )
221 Q_PRIVATE_SLOT( d_func(),
void signalStartedToJobTracker() )
222 Q_PRIVATE_SLOT( d_func(),
void delayedEmitResult() )
QList< Job * > List
Describes a list of jobs.
The server protocol version is too old or too new.
Base class for all actions in the Akonadi storage.
A communication session with the Akonadi storage.
The user canceld this job.
Error
Describes the error codes that can be emitted by this class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.