akonadi
transactionsequence.cpp
89 if ( d->mState == TransactionSequencePrivate::Idle && !property( "transactionsDisabled" ).toBool() ) {
90 d->mState = TransactionSequencePrivate::Running; // needs to be set before creating the transaction job to avoid infinite recursion
125 // cancel all subjobs in case someone else is listening (such as ItemSync), but without notifying ourselves again
132 if ( d->mState == TransactionSequencePrivate::Running || d->mState == TransactionSequencePrivate::WaitingForSubjobs ) {
void rollback()
Rolls back the current transaction as soon as possible.
Definition: transactionsequence.cpp:203
Job that commits a session-global transaction.
Definition: transactionjobs.h:113
TransactionSequence(QObject *parent=0)
Creates a new transaction sequence.
Definition: transactionsequence.cpp:75
void setAutomaticCommittingEnabled(bool enable)
Disable automatic committing.
Definition: transactionsequence.cpp:197
bool addSubjob(KJob *job)
Adds the given job as a subjob to this job.
Definition: transactionsequence.cpp:84
Job that aborts a session-global transaction.
Definition: transactionjobs.h:81
virtual bool addSubjob(KJob *job)
Adds the given job as a subjob to this job.
Definition: job.cpp:318
void setIgnoreJobFailure(KJob *job)
Sets which job of the sequence might fail without rolling back the complete transaction.
Definition: transactionsequence.cpp:175
void commit()
Commits the transaction as soon as all pending sub-jobs finished successfully.
Definition: transactionsequence.cpp:144
void doStart()
This method must be reimplemented in the concrete jobs.
Definition: transactionsequence.cpp:185
Base class for jobs that need to run a sequence of sub-jobs in a transaction.
Definition: transactionsequence.h:69
Definition: job_p.h:31
Job that begins a session-global transaction.
Definition: transactionjobs.h:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.