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.nosp@m.se@k.nosp@m.de.or.nosp@m.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-2024 The KDE developers.
Generated on Fri May 24 2024 11:58:19 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.