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 KLockFilePrivate;
The KLockFile class provides NFS safe lockfiles.
LockResult
Possible return values of the lock function.
@ LockFail
The lock could not be acquired because it is held by another process.
@ LockError
The lock could not be acquired due to an error.
Reference counting for shared objects.