java.lang.Object
io.qt.QtObject
io.qt.script.QScriptString
- All Implemented Interfaces:
io.qt.QtObjectInterface,Cloneable
Acts as a handle to "interned" strings in a QScriptEngine
Java wrapper for Qt's class QScriptString
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQScriptString(QScriptString other) protectedQScriptString(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QScriptString other) clone()Creates and returns a copy of this object.booleanUsed 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.inthashCode()final booleanisValid()final Integerfinal StringtoString()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QScriptString
public QScriptString() -
QScriptString
-
QScriptString
protected QScriptString(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
isValid
@QtUninvokable public final boolean isValid() -
assign
-
toArrayIndex
-
toString
-
equals
Description copied from class:io.qt.QtObjectUsed 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:
equalsin classio.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() -
clone
Creates and returns a copy of this object.
-