com.trolltech.qt.core
Class QTextStream.Status

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

public static final class QTextStream.Status
extends java.lang.Enum
implements QtEnumerator

This enum describes the current status of the text stream.

See also:
status().

See Also:
Serialized Form

Field Summary
static QTextStream.Status Ok
          The text stream is operating normally.
static QTextStream.Status ReadCorruptData
          The text stream has read corrupt data.
static QTextStream.Status ReadPastEnd
          The text stream has read past the end of the data in the underlying device.
 
Method Summary
static QTextStream.Status resolve(int value)
          Returns the QTextStream$Status 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 QTextStream.Status valueOf(java.lang.String name)
           
static QTextStream.Status[] 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

Ok

public static final QTextStream.Status Ok
The text stream is operating normally.


ReadPastEnd

public static final QTextStream.Status ReadPastEnd
The text stream has read past the end of the data in the underlying device.


ReadCorruptData

public static final QTextStream.Status ReadCorruptData
The text stream has read corrupt data.

Method Detail

values

public static QTextStream.Status[] values()

valueOf

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