Akonadi::TransactionBeginJob

Search for usage in LXR

Akonadi::TransactionBeginJob Class Reference

#include <transactionjobs.h>

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.

Note
This will only have an effect when used as a subjob or with a Session.
Author
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)
explicit

Creates a new transaction begin job.

Parameters
parentThe parent job or Session, must not be 0.

Definition at line 61 of file transactionjobs.cpp.

◆ ~TransactionBeginJob()

TransactionBeginJob::~TransactionBeginJob ( )
override

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 Oct 11 2024 12:11:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.