• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

Akonadi::TransactionBeginJob

Akonadi::TransactionBeginJob Class Reference

Job that begins a session-global transaction. More...

#include <transactionjobs.h>

Inheritance diagram for Akonadi::TransactionBeginJob:

Inheritance graph
[legend]

List of all members.


Public Member Functions

 TransactionBeginJob (QObject *parent)
 ~TransactionBeginJob ()

Protected Member Functions

virtual void doStart ()

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 <vkrause@kde.org>

Definition at line 46 of file transactionjobs.h.


Constructor & Destructor Documentation

TransactionBeginJob::TransactionBeginJob ( QObject *  parent  )  [explicit]

Creates a new transaction begin job.

Parameters:
parent The parent job or Session, must not be 0.

Definition at line 54 of file transactionjobs.cpp.

TransactionBeginJob::~TransactionBeginJob (  ) 

Destroys the transaction begin job.

Definition at line 60 of file transactionjobs.cpp.


Member Function Documentation

void TransactionBeginJob::doStart (  )  [protected, virtual]

This method must be reimplemented in the concrete jobs.

It will be called after the job has been started and a connection to the Akonadi backend has been established.

Implements Akonadi::Job.

Definition at line 64 of file transactionjobs.cpp.


The documentation for this class was generated from the following files:
  • transactionjobs.h
  • transactionjobs.cpp

akonadi

Skip menu "akonadi"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal