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.nosp@m.se@k.nosp@m.de.or.nosp@m.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-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.