Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QLock Class Reference

#include </home/clem/local/src/opie/qmake/include/private/qlock_p.h>

Collaboration diagram for QLock:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { Read, Write }

Public Member Functions

 QLock (const QString &filename, char id, bool create=FALSE)
 ~QLock ()
bool isValid () const
void lock (Type type)
void unlock ()
bool locked () const

Private Attributes

Type type
QLockData * data

Member Enumeration Documentation

enum QLock::Type
 

Enumeration values:
Read 
Write 

Definition at line 60 of file qlock_p.h.


Constructor & Destructor Documentation

QLock::QLock const QString filename,
char  id,
bool  create = FALSE
 

QLock::~QLock  ) 
 


Member Function Documentation

bool QLock::isValid  )  const
 

void QLock::lock Type  type  ) 
 

Referenced by QLockHolder::lock(), and QLockHolder::QLockHolder().

bool QLock::locked  )  const
 

Referenced by QLockHolder::locked().

void QLock::unlock  ) 
 

Referenced by QLockHolder::unlock(), and QLockHolder::~QLockHolder().


Member Data Documentation

QLockData* QLock::data [private]
 

Definition at line 69 of file qlock_p.h.

Type QLock::type [private]
 

Definition at line 68 of file qlock_p.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:47:46 2005 for OPIE by  doxygen 1.4.2