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