Akonadi::TransactionRollbackJob

Akonadi::TransactionRollbackJob Class Reference

#include <transactionjobs.h>

Inherits Akonadi::TransactionJob.

Public Member Functions

 TransactionRollbackJob (QObject *parent)
 
 ~TransactionRollbackJob ()
 

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 vkrau[email protected][email protected][email protected]de.or[email protected]g

Definition at line 91 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
parentThe parent job or Session, must not be 0.

Definition at line 82 of file transactionjobs.cpp.

TransactionRollbackJob::~TransactionRollbackJob ( )

Destroys the transaction rollback job.

Definition at line 87 of file transactionjobs.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri May 29 2020 22:40:21 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.