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

akonadi

Akonadi::GetLockJob

Akonadi::GetLockJob Class Reference

#include <specialcollectionshelperjobs_p.h>

Inherits KJob.

List of all members.

Public Member Functions

 GetLockJob (QObject *parent=0)
 ~GetLockJob ()
virtual void start ()

Detailed Description

For internal use only.

Helper job for SpecialCollectionsRequestJob.If SpecialCollectionsRequestJob needs to create a collection, it sets a lock so that other instances do not interfere. This lock is an org.kde.pim.SpecialCollections name registered on D-Bus. This job is used to get that lock. This job will give the lock immediately if possible, or wait up to three seconds for the lock to be released. If the lock is not released during that time, this job fails. (This is based on the assumption that SpecialCollectionsRequestJob operations should not take long.)Use the releaseLock() function to release the lock.

Author:
Constantin Berzan <exit3219@gmail.com>
Since:
4.4

Definition at line 196 of file specialcollectionshelperjobs_p.h.


Constructor & Destructor Documentation

GetLockJob::GetLockJob ( QObject *  parent = 0  )  [explicit]

Creates a new GetLockJob.

Definition at line 581 of file specialcollectionshelperjobs.cpp.

GetLockJob::~GetLockJob (  ) 

Destroys the GetLockJob.

Definition at line 587 of file specialcollectionshelperjobs.cpp.


The documentation for this class was generated from the following files:
  • specialcollectionshelperjobs_p.h
  • specialcollectionshelperjobs.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
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.1
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