Package io.qt.script

Class QScriptString

java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.script.QScriptString
All Implemented Interfaces:
io.qt.QtObjectInterface, Cloneable

public class QScriptString extends io.qt.QtObject implements Cloneable

Acts as a handle to "interned" strings in a QScriptEngine

Java wrapper for Qt class QScriptString

  • Constructor Details

  • Method Details

    • isValid

      @QtUninvokable public final boolean isValid()
    • toArrayIndex

      @QtUninvokable public final Integer toArrayIndex()
    • toString

      @QtUninvokable public final String toString()
      Overrides:
      toString in class Object
    • equals

      @QtUninvokable public boolean equals(Object other)
      Description copied from class: io.qt.QtObject
      Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation.
      Overrides:
      equals in class io.qt.QtObject
      Parameters:
      other - The object with which to compare
      Returns:
      true if the native resources of the two objects are one and the same.
    • hashCode

      @QtUninvokable public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public QScriptString clone()
      Overrides:
      clone in class Object