Search for usage in LXR

Akonadi::TransactionBeginJob Class Reference

#include <transactionjobs.h>

Inherits Akonadi::TransactionJob.

Public Member Functions

 TransactionBeginJob (QObject *parent)
 ~TransactionBeginJob () override

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

Constructor & Destructor Documentation

◆ TransactionBeginJob()

TransactionBeginJob::TransactionBeginJob ( QObject parent)

Creates a new transaction begin job.

parentThe parent job or Session, must not be 0.

Definition at line 61 of file transactionjobs.cpp.

◆ ~TransactionBeginJob()

TransactionBeginJob::~TransactionBeginJob ( )

Destroys the transaction begin job.

Definition at line 66 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.