Akonadi::TransactionRollbackJob Class Reference

Job that aborts a session-global transaction. More...

#include <transactionjobs.h>

Inheritance diagram for Akonadi::TransactionRollbackJob:

List of all members.

Public Member Functions

 TransactionRollbackJob (QObject *parent)
 ~TransactionRollbackJob ()

Protected Member Functions

virtual void doStart ()

Detailed Description

Job that aborts a session-global transaction.

If a job inside a TransactionBeginJob has been failed, the TransactionRollbackJob can be used to rollback all changes done by these jobs.

Note:
This will only have an effect when used as a subjob or with a Session.
Author:
Volker Krause <vkrause@kde.org>

Definition at line 82 of file transactionjobs.h.


Constructor & Destructor Documentation

TransactionRollbackJob::TransactionRollbackJob ( QObject *  parent  )  [explicit]

Creates a new transaction rollback job.

The parent must be the same parent as for the TransactionBeginJob.

Parameters:
parent The parent job or Session, must not be 0.

Definition at line 71 of file transactionjobs.cpp.

TransactionRollbackJob::~TransactionRollbackJob (  ) 

Destroys the transaction rollback job.

Definition at line 77 of file transactionjobs.cpp.


Member Function Documentation

void TransactionRollbackJob::doStart (  )  [protected, virtual]

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 81 of file transactionjobs.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys