• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • GetLockJob
Public Member Functions | List of all members
Akonadi::GetLockJob Class Reference

#include <specialcollectionshelperjobs_p.h>

Inherits KJob.

Public Member Functions

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

Detailed Description

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 exit3.nosp@m.219@.nosp@m.gmail.nosp@m..com
Since
4.4

Definition at line 194 of file specialcollectionshelperjobs_p.h.

Constructor & Destructor Documentation

◆ GetLockJob()

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

Creates a new GetLockJob.

Definition at line 621 of file specialcollectionshelperjobs.cpp.

◆ ~GetLockJob()

GetLockJob::~GetLockJob ( )

Destroys the GetLockJob.

Definition at line 627 of file specialcollectionshelperjobs.cpp.

Member Function Documentation

◆ start()

void GetLockJob::start ( )
virtual

Definition at line 632 of file specialcollectionshelperjobs.cpp.


The documentation for this class was generated from the following files:
  • specialcollectionshelperjobs_p.h
  • specialcollectionshelperjobs.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

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

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal