TDEABC::Lock Class Reference
#include <lock.h>
Inheritance diagram for TDEABC::Lock:

Signals | |
void | locked () |
void | unlocked () |
Public Member Functions | |
Lock (const TQString &identifier) | |
~Lock () | |
virtual bool | lock () |
virtual bool | unlock () |
virtual TQString | error () const |
TQString | lockFileName () const |
Static Public Member Functions | |
static bool | readLockFile (const TQString &filename, int &pid, TQString &app) |
static bool | writeLockFile (const TQString &filename) |
static TQString | locksDir () |
Detailed Description
This class provides locking functionality for a file, directory or an arbitrary string-represented resource.
Constructor & Destructor Documentation
Lock::Lock | ( | const TQString & | identifier | ) |
Lock::~Lock | ( | ) |
Member Function Documentation
|
virtual |
|
virtual |
The documentation for this class was generated from the following files: