KABC::LockNull Class Reference
This class provides a lock without actually locking. More...
#include <locknull.h>
Inheritance diagram for KABC::LockNull:

Public Methods | |
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
|
Lock resource.
Reimplemented from KABC::Lock. Definition at line 39 of file locknull.cpp. |
|
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: