TDEABC::LockNull Class Reference
#include <locknull.h>
Inheritance diagram for TDEABC::LockNull:
Public Member Functions | |
LockNull (bool allowAccess) | |
bool | lock () |
bool | unlock () |
TQString | error () const |
Public Member Functions inherited from TDEABC::Lock | |
Lock (const TQString &identifier) | |
~Lock () | |
TQString | lockFileName () const |
Additional Inherited Members | |
Signals inherited from TDEABC::Lock | |
void | locked () |
void | unlocked () |
Static Public Member Functions inherited from TDEABC::Lock | |
static bool | readLockFile (const TQString &filename, int &pid, TQString &app) |
static bool | writeLockFile (const TQString &filename) |
static TQString | locksDir () |
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()
|
virtual |
◆ unlock()
|
virtual |
The documentation for this class was generated from the following files: