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

kabc

KABC::LockNull

KABC::LockNull Class Reference

This class provides a lock without actually locking. More...

#include <locknull.h>

Inheritance diagram for KABC::LockNull:
Inheritance graph
[legend]

List of all members.

Public Member Functions

QString error () const
bool lock ()
 LockNull (bool allowAccess)
bool unlock ()

Detailed Description

This class provides a lock without actually locking.

It can be constructed in two ways: One that let all locks succeed and one that let all locks fail.

Definition at line 33 of file locknull.h.


Constructor & Destructor Documentation

LockNull::LockNull ( bool  allowAccess  ) 

Creates an instance of the null lock.

Parameters:
allowAccess if true all calls to lock() will "succeed", if false all calls to lock() will "fail"

Definition at line 40 of file locknull.cpp.


Member Function Documentation

QString LockNull::error (  )  const [virtual]

Returns the lastest error message.

Reimplemented from KABC::Lock.

Definition at line 71 of file locknull.cpp.

bool LockNull::lock (  )  [virtual]

Lock resource.

Reimplemented from KABC::Lock.

Definition at line 52 of file locknull.cpp.

bool LockNull::unlock (  )  [virtual]

Unlock resource.

Reimplemented from KABC::Lock.

Definition at line 65 of file locknull.cpp.


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

kabc

Skip menu "kabc"
  • Main Page
  • 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
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • 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