com.trolltech.qt.core
Class QRegExp.CaretMode

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

public static final class QRegExp.CaretMode
extends java.lang.Enum
implements QtEnumerator

The CaretMode enum defines the different meanings of the caret (^) in a regular expression. The possible values are:

See Also:
Serialized Form

Field Summary
static QRegExp.CaretMode CaretAtOffset
          The caret corresponds to the start offset of the search.
static QRegExp.CaretMode CaretAtZero
          The caret corresponds to index 0 in the searched string.
static QRegExp.CaretMode CaretWontMatch
          The caret never matches.
 
Method Summary
static QRegExp.CaretMode resolve(int value)
          Returns the QRegExp$CaretMode 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 QRegExp.CaretMode valueOf(java.lang.String name)
           
static QRegExp.CaretMode[] 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

CaretAtZero

public static final QRegExp.CaretMode CaretAtZero
The caret corresponds to index 0 in the searched string.


CaretAtOffset

public static final QRegExp.CaretMode CaretAtOffset
The caret corresponds to the start offset of the search.


CaretWontMatch

public static final QRegExp.CaretMode CaretWontMatch
The caret never matches.

Method Detail

values

public static QRegExp.CaretMode[] values()

valueOf

public static QRegExp.CaretMode 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 QRegExp.CaretMode resolve(int value)
Returns the QRegExp$CaretMode constant with the specified int.