24#include <tqdatetime.h>
26#include <ksharedptr.h>
88 LockResult lock(
int options=0);
93 bool isLocked()
const;
104 int staleTime()
const;
109 void setStaleTime(
int _staleTime);
116 bool getLockInfo(
int &pid, TQString &hostname, TQString &appname);
119 class TDELockFilePrivate;
120 TDELockFilePrivate *d;
The TDELockFile class provides NFS safe lockfiles.
LockResult
Possible return values of the lock function.
@ LockError
The lock could not be acquired due to an error.
@ LockFail
The lock could not be acquired because it is held by another process.
Can be used to control the lifetime of an object that has derived TDEShared.
Reference counting for shared objects.