com.trolltech.qt.core
Class QMutex.RecursionMode

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.core.QMutex.RecursionMode
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QMutex

public static final class QMutex.RecursionMode
extends java.lang.Enum
implements QtEnumerator

See also.
QMutex().

See Also:
Serialized Form

Field Summary
static QMutex.RecursionMode NonRecursive
          In this mode, a thread may only lock a mutex once.
static QMutex.RecursionMode Recursive
          In this mode, a thread can lock the same mutex multiple times and the mutex won't be unlocked until a corresponding number of unlock() calls have been made.
 
Method Summary
static QMutex.RecursionMode resolve(int value)
          Returns the QMutex$RecursionMode constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QMutex.RecursionMode valueOf(java.lang.String name)
           
static QMutex.RecursionMode[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NonRecursive

public static final QMutex.RecursionMode NonRecursive
In this mode, a thread may only lock a mutex once.


Recursive

public static final QMutex.RecursionMode Recursive
In this mode, a thread can lock the same mutex multiple times and the mutex won't be unlocked until a corresponding number of unlock() calls have been made.

Method Detail

values

public static QMutex.RecursionMode[] values()

valueOf

public static QMutex.RecursionMode valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QMutex.RecursionMode resolve(int value)
Returns the QMutex$RecursionMode constant with the specified int.