kabc Library API Documentation

KABC::LockNull Class Reference

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

#include <locknull.h>

Inheritance diagram for KABC::LockNull:

KABC::Lock QObject List of all members.

Public Member Functions

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

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 34 of file locknull.h.


Member Function Documentation

bool LockNull::lock  )  [virtual]
 

Lock resource.

Reimplemented from KABC::Lock.

Definition at line 39 of file locknull.cpp.

References kdWarning().

bool LockNull::unlock  )  [virtual]
 

Unlock resource.

Reimplemented from KABC::Lock.

Definition at line 51 of file locknull.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kabc Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Apr 21 18:44:46 2004 by doxygen 1.3.6-20040222 written by Dimitri van Heesch, © 1997-2003