akonadi
Akonadi::JobPrivate Class Reference
#include <job_p.h>
Inheritance diagram for Akonadi::JobPrivate:

Public Member Functions | |
JobPrivate (Job *parent) | |
void | delayedEmitResult () |
virtual void | doUpdateItemRevision (Akonadi::Item::Id, int oldRevision, int newRevision) |
void | handleResponse (const QByteArray &tag, const QByteArray &data) |
void | init (QObject *parent) |
void | itemRevisionChanged (Akonadi::Item::Id itemId, int oldRevision, int newRevision) |
void | lostConnection () |
QByteArray | newTag () |
void | signalCreationToJobTracker () |
void | slotSubJobAboutToStart (Akonadi::Job *) |
void | startNext () |
void | startQueued () |
QByteArray | tag () const |
void | updateItemRevision (Akonadi::Item::Id itemId, int oldRevision, int newRevision) |
void | writeData (const QByteArray &data) |
Public Attributes | |
Job * | mCurrentSubJob |
Job * | mParentJob |
Session * | mSession |
bool | mStarted |
QByteArray | mTag |
bool | mWriteFinished |
Job * | q_ptr |
Detailed Description
Member Function Documentation
void ItemModifyJobPrivate::doUpdateItemRevision | ( | Akonadi::Item::Id | itemId, |
int | oldRevision, | ||
int | newRevision | ||
) | [virtual] |
Overwrite this if your job does operations with conflict detection and update the item revisions if your items are affected.
The default implementation does nothing.
Definition at line 94 of file itemmodifyjob.cpp.
void Akonadi::JobPrivate::itemRevisionChanged | ( | Akonadi::Item::Id | itemId, |
int | oldRevision, | ||
int | newRevision | ||
) |
Notify following jobs about item revision changes.
This is used to avoid phantom conflicts between pipelined modify jobs on the same item.
QByteArray Akonadi::JobPrivate::newTag | ( | ) |
Returns a new unique command tag for communication with the backend.
QByteArray Akonadi::JobPrivate::tag | ( | ) | const |
Return the tag used for the request.
void Akonadi::JobPrivate::updateItemRevision | ( | Akonadi::Item::Id | itemId, |
int | oldRevision, | ||
int | newRevision | ||
) |
Propagate item revision changes to this job and its sub-jobs.
void Akonadi::JobPrivate::writeData | ( | const QByteArray & | data | ) |
Sends raw data to the backend.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:27 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:27 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.