Akonadi::TransactionBeginJob Class Reference

#include <transactionjobs.h>

Inherits Akonadi::TransactionJob.

Public Member Functions

 TransactionBeginJob (QObject *parent)
 ~TransactionBeginJob ()

Detailed Description

Job that begins a session-global transaction.

Sometimes you want to execute a sequence of commands in an atomic way, so that either all commands or none shall be executed. The TransactionBeginJob, TransactionCommitJob and TransactionRollbackJob provide these functionality for the Akonadi Job classes.

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 62 of file transactionjobs.h.

Constructor & Destructor Documentation

TransactionBeginJob::TransactionBeginJob ( QObject parent)

Creates a new transaction begin job.

parentThe parent job or Session, must not be 0.

Definition at line 73 of file transactionjobs.cpp.

TransactionBeginJob::~TransactionBeginJob ( )

Destroys the transaction begin job.

Definition at line 78 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 Sun May 24 2020 22:46:20 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.