27 #include <tdelibs_export.h>
35 class KABC_EXPORT
Lock :
public TQObject
45 Lock(
const TQString &identifier );
60 virtual bool unlock();
62 virtual TQString error()
const;
64 TQString lockFileName()
const;
66 static bool readLockFile(
const TQString &filename,
int &pid, TQString &app );
67 static bool writeLockFile(
const TQString &filename );
69 static TQString locksDir();
78 TQString mLockUniqueName;
This class provides locking functionality for a file, directory or an arbitrary string-represented re...
static data, shared by ALL addressee objects