KFileLock Class Reference

List of all members.

Detailed Description

Definition at line 23 of file kfilelock.h.


Public Member Functions

 KFileLock (int fd)
 ~KFileLock ()
int fd () const
int lock ()
void unlock ()
bool isLocked () const

Constructor & Destructor Documentation

KFileLock::~KFileLock (  ) 

Call unlock().

Definition at line 65 of file kfilelock.cpp.


Member Function Documentation

int KFileLock::fd (  )  const [inline]

Returns:
the file descriptor.

Definition at line 32 of file kfilelock.h.

void KFileLock::unlock (  ) 

Unlock the file.

Definition at line 70 of file kfilelock.cpp.

bool KFileLock::isLocked (  )  const [inline]

Returns:
true if we currently lock the file.

Definition at line 45 of file kfilelock.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys