Module qtjambi
Package io.qt.core

Enum QVariant.Type

java.lang.Object
java.lang.Enum<QVariant.Type>
io.qt.core.QVariant.Type
All Implemented Interfaces:
QtAbstractEnumerator, QtEnumerator, Serializable, Comparable<QVariant.Type>, Constable
Enclosing class:
QVariant

@Deprecated public static enum QVariant.Type extends Enum<QVariant.Type> implements QtEnumerator
Deprecated.
"Use QMetaType::Type instead."

Java wrapper for Qt enum QVariant::Type

  • Enum Constant Details

  • Method Details

    • values

      public static QVariant.Type[] values()
      Deprecated.
      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

      public static QVariant.Type valueOf(String name)
      Deprecated.
      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 name
      NullPointerException - if the argument is null
    • value

      public int value()
      Deprecated.
      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 QVariant.Type resolve(int value)
      Deprecated.
      Returns the corresponding enum entry for the given value.
      Parameters:
      value -
      Returns:
      enum entry
      Throws:
      QNoSuchEnumValueException - if value not existent in the enum
    • resolve

      public static QVariant.Type resolve(int value, String name)
      Deprecated.
      Returns the corresponding enum entry for the given value and name.
      Parameters:
      value -
      name -
      Returns:
      enum entry
      Throws:
      QNoSuchEnumValueException - if value not existent in the enum or name does not match.