- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QDataStream.Version>
,Constable
- Enclosing class:
- QDataStream
public static enum QDataStream.Version extends Enum<QDataStream.Version> implements QtEnumerator
Java wrapper for Qt enum QDataStream::Version
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Qt_1_0
Qt_2_0
Qt_2_1
Qt_3_0
Qt_3_1
Qt_3_3
Qt_4_0
Qt_4_1
Qt_4_2
Qt_4_3
Qt_4_4
Qt_4_5
Qt_4_6
Qt_4_7
Qt_4_8
Qt_4_9
Qt_5_0
Qt_5_1
Qt_5_10
Qt_5_11
Qt_5_12
Qt_5_13
Qt_5_14
Qt_5_15
Qt_5_2
Qt_5_3
Qt_5_4
Qt_5_5
Qt_5_6
Qt_5_7
Qt_5_8
Qt_5_9
Qt_6_0
Qt_DefaultCompiledVersion
-
Method Summary
Modifier and Type Method Description static QDataStream.Version
resolve(int value)
Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QDataStream.Version
valueOf(String name)
Returns the enum constant of this type with the specified name.static QDataStream.Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
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 interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
-