Package io.qt.script

Class QScriptString

java.lang.Object
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's class QScriptString

  • Constructor Details

  • Method Details

    • isValid

      @QtUninvokable public final boolean isValid()
    • assign

      @QtUninvokable public final void assign(QScriptString other)
    • 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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation.
      Overrides:
      equals in class io.qt.QtObject
      Parameters:
      other - other object
      Returns:
      true if the native counterpart of the two objects are one and the same.
    • hashCode

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

      @QtUninvokable public QScriptString clone()

      Creates and returns a copy of this object.

      Overrides:
      clone in class Object