Search for usage in LXR

Akonadi::TransactionRollbackJob Class Reference

#include <transactionjobs.h>

Inherits Akonadi::TransactionJob.

Public Member Functions

 TransactionRollbackJob (QObject *parent)
 ~TransactionRollbackJob () override

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.

This will only have an effect when used as a subjob or with a Session.
Volker Krause vkrau[email protected][email protected][email protected]de.or[email protected]g

Definition at line 76 of file transactionjobs.h.

Constructor & Destructor Documentation

◆ TransactionRollbackJob()

TransactionRollbackJob::TransactionRollbackJob ( QObject parent)

Creates a new transaction rollback job.

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

parentThe parent job or Session, must not be 0.

Definition at line 70 of file transactionjobs.cpp.

◆ ~TransactionRollbackJob()

TransactionRollbackJob::~TransactionRollbackJob ( )

Destroys the transaction rollback job.

Definition at line 75 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-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.