- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QJSPrimitiveValue>
Operates on primitive types in JavaScript semantics
Java wrapper for Qt class QJSPrimitiveValue
- Since:
- This class was introduced in Qt 6.1.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionQJSPrimitiveValue
(boolean value) QJSPrimitiveValue
(double value) QJSPrimitiveValue
(int value) QJSPrimitiveValue
(QMetaType type) SeeQJSPrimitiveValue::
QJSPrimitiveValue(QMetaType) SeeQJSPrimitiveValue::
QJSPrimitiveValue(QJSPrimitiveValue) QJSPrimitiveValue
(String string) QJSPrimitiveValue
(Object variant) -
Method Summary
Modifier and TypeMethodDescriptionfinal QJSPrimitiveValue
added
(boolean rhs) Deprecated.final QJSPrimitiveValue
added
(double rhs) Deprecated.Useplus(double)
instead.final QJSPrimitiveValue
added
(int rhs) Deprecated.Useplus(int)
instead.final QJSPrimitiveValue
added
(QJSPrimitiveValue rhs) Deprecated.Useplus(io.qt.qml.QJSPrimitiveValue)
instead.final QJSPrimitiveValue
Deprecated.Useplus(java.lang.String)
instead.clone()
Creates and returns a copy of this object.int
compareTo
(QJSPrimitiveValue other) final QJSPrimitiveValue
dec()
SeeQJSPrimitiveValue::
operator--() final QJSPrimitiveValue
div
(boolean rhs) Overloaded function fordiv(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
div
(double rhs) Overloaded function fordiv(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
div
(int rhs) Overloaded function fordiv(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
div
(QJSPrimitiveValue rhs) final QJSPrimitiveValue
Overloaded function fordiv(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
divided
(boolean rhs) Deprecated.Usediv(boolean)
instead.final QJSPrimitiveValue
divided
(double rhs) Deprecated.Usediv(double)
instead.final QJSPrimitiveValue
divided
(int rhs) Deprecated.Usediv(int)
instead.final QJSPrimitiveValue
divided
(QJSPrimitiveValue rhs) Deprecated.Usediv(io.qt.qml.QJSPrimitiveValue)
instead.final QJSPrimitiveValue
Deprecated.Usediv(java.lang.String)
instead.final boolean
equals
(boolean other) Overloaded function forequals(io.qt.qml.QJSPrimitiveValue)
.final boolean
equals
(double other) Overloaded function forequals(io.qt.qml.QJSPrimitiveValue)
.final boolean
equals
(int other) Overloaded function forequals(io.qt.qml.QJSPrimitiveValue)
.final boolean
equals
(QJSPrimitiveValue other) final boolean
Overloaded function forequals(io.qt.qml.QJSPrimitiveValue)
.boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QJSPrimitiveValue)
.final QJSPrimitiveValue
inc()
SeeQJSPrimitiveValue::
operator++() final QMetaType
metaType()
final QJSPrimitiveValue
minus
(boolean rhs) Overloaded function forminus(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
minus
(double rhs) Overloaded function forminus(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
minus
(int rhs) Overloaded function forminus(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
minus
(QJSPrimitiveValue rhs) final QJSPrimitiveValue
Overloaded function forminus(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
modulo
(boolean rhs) Deprecated.Userem(boolean)
instead.final QJSPrimitiveValue
modulo
(double rhs) Deprecated.Userem(double)
instead.final QJSPrimitiveValue
modulo
(int rhs) Deprecated.Userem(int)
instead.final QJSPrimitiveValue
modulo
(QJSPrimitiveValue rhs) Deprecated.Userem(io.qt.qml.QJSPrimitiveValue)
instead.final QJSPrimitiveValue
Deprecated.Userem(java.lang.String)
instead.final QJSPrimitiveValue
multiplied
(boolean rhs) Deprecated.Usetimes(boolean)
instead.final QJSPrimitiveValue
multiplied
(double rhs) Deprecated.Usetimes(double)
instead.final QJSPrimitiveValue
multiplied
(int rhs) Deprecated.Usetimes(int)
instead.final QJSPrimitiveValue
Deprecated.Usetimes(io.qt.qml.QJSPrimitiveValue)
instead.final QJSPrimitiveValue
multiplied
(String rhs) Deprecated.Usetimes(java.lang.String)
instead.final QJSPrimitiveValue
plus
(boolean rhs) Overloaded function forplus(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
plus
(double rhs) Overloaded function forplus(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
plus
(int rhs) Overloaded function forplus(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
plus
(QJSPrimitiveValue rhs) final QJSPrimitiveValue
Overloaded function forplus(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
rem
(boolean rhs) Overloaded function forrem(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
rem
(double rhs) Overloaded function forrem(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
rem
(int rhs) Overloaded function forrem(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
rem
(QJSPrimitiveValue rhs) Seeoperator%(QJSPrimitiveValue,
QJSPrimitiveValue) final QJSPrimitiveValue
Overloaded function forrem(io.qt.qml.QJSPrimitiveValue)
.final boolean
strictlyEquals
(boolean other) Overloaded function forstrictlyEquals(io.qt.qml.QJSPrimitiveValue)
.final boolean
strictlyEquals
(double other) Overloaded function forstrictlyEquals(io.qt.qml.QJSPrimitiveValue)
.final boolean
strictlyEquals
(int other) Overloaded function forstrictlyEquals(io.qt.qml.QJSPrimitiveValue)
.final boolean
strictlyEquals
(QJSPrimitiveValue other) final boolean
strictlyEquals
(String other) Overloaded function forstrictlyEquals(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
substracted
(boolean rhs) Deprecated.Useminus(boolean)
instead.final QJSPrimitiveValue
substracted
(double rhs) Deprecated.Useminus(double)
instead.final QJSPrimitiveValue
substracted
(int rhs) Deprecated.Useminus(int)
instead.final QJSPrimitiveValue
Deprecated.Useminus(io.qt.qml.QJSPrimitiveValue)
instead.final QJSPrimitiveValue
substracted
(String rhs) Deprecated.Useminus(java.lang.String)
instead.final QJSPrimitiveValue
times
(boolean rhs) Overloaded function fortimes(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
times
(double rhs) Overloaded function fortimes(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
times
(int rhs) Overloaded function fortimes(io.qt.qml.QJSPrimitiveValue)
.final QJSPrimitiveValue
times
(QJSPrimitiveValue rhs) final QJSPrimitiveValue
Overloaded function fortimes(io.qt.qml.QJSPrimitiveValue)
.final boolean
final double
toDouble()
final int
final String
toString()
final Object
SeeQJSPrimitiveValue::
toVariant()const final QJSPrimitiveValue.Type
type()
final QJSPrimitiveValue
final QJSPrimitiveValue
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QJSPrimitiveValue
public QJSPrimitiveValue() -
QJSPrimitiveValue
See
QJSPrimitiveValue::
QJSPrimitiveValue(QJSPrimitiveValue) - Parameters:
other
-
-
QJSPrimitiveValue
See
QJSPrimitiveValue::
QJSPrimitiveValue(QMetaType) - Parameters:
type
-
-
QJSPrimitiveValue
- Parameters:
string
-
-
QJSPrimitiveValue
- Parameters:
variant
-
-
QJSPrimitiveValue
public QJSPrimitiveValue(boolean value) - Parameters:
value
-
-
QJSPrimitiveValue
public QJSPrimitiveValue(double value) - Parameters:
value
-
-
QJSPrimitiveValue
public QJSPrimitiveValue(int value) - Parameters:
value
-
-
-
Method Details
-
equals
- Parameters:
other
-- Returns:
-
metaType
- Returns:
- Since:
- This function was introduced in Qt 6.6.
-
rem
See
operator%(QJSPrimitiveValue,
QJSPrimitiveValue) - Parameters:
rhs
-- Returns:
-
times
- Parameters:
rhs
-- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
unaryPlus
- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
plus
- Parameters:
rhs
-- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
inc
See
QJSPrimitiveValue::
operator++() - Returns:
-
unaryMinus
- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
minus
- Parameters:
rhs
-- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
dec
See
QJSPrimitiveValue::
operator--() - Returns:
-
div
- Parameters:
rhs
-- Returns:
- Since:
- This function was introduced in Qt 6.1.
-
strictlyEquals
- Parameters:
other
-- Returns:
-
toBoolean
- Returns:
-
toDouble
- Returns:
-
toInteger
- Returns:
-
toString
-
toVariant
See
QJSPrimitiveValue::
toVariant()const - Returns:
-
type
- Returns:
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QJSPrimitiveValue>
-
hashCode
Returns the objects's hash code computed byqHash(QJSPrimitiveValue)
. -
clone
Creates and returns a copy of this object.
See
QJSPrimitiveValue::
QJSPrimitiveValue(QJSPrimitiveValue) -
equals
Overloaded function for
equals(io.qt.qml.QJSPrimitiveValue)
. -
equals
Overloaded function for
equals(io.qt.qml.QJSPrimitiveValue)
. -
equals
Overloaded function for
equals(io.qt.qml.QJSPrimitiveValue)
. -
equals
Overloaded function for
equals(io.qt.qml.QJSPrimitiveValue)
. -
modulo
Deprecated.Userem(io.qt.qml.QJSPrimitiveValue)
instead. -
modulo
Deprecated.Userem(boolean)
instead. -
modulo
Deprecated.Userem(int)
instead. -
modulo
Deprecated.Userem(double)
instead. -
modulo
Deprecated.Userem(java.lang.String)
instead. -
rem
Overloaded function for
rem(io.qt.qml.QJSPrimitiveValue)
. -
rem
Overloaded function for
rem(io.qt.qml.QJSPrimitiveValue)
. -
rem
Overloaded function for
rem(io.qt.qml.QJSPrimitiveValue)
. -
rem
Overloaded function for
rem(io.qt.qml.QJSPrimitiveValue)
. -
multiplied
Deprecated.Usetimes(io.qt.qml.QJSPrimitiveValue)
instead. -
multiplied
Deprecated.Usetimes(boolean)
instead. -
multiplied
Deprecated.Usetimes(int)
instead. -
multiplied
Deprecated.Usetimes(double)
instead. -
multiplied
Deprecated.Usetimes(java.lang.String)
instead. -
times
Overloaded function for
times(io.qt.qml.QJSPrimitiveValue)
. -
times
Overloaded function for
times(io.qt.qml.QJSPrimitiveValue)
. -
times
Overloaded function for
times(io.qt.qml.QJSPrimitiveValue)
. -
times
Overloaded function for
times(io.qt.qml.QJSPrimitiveValue)
. -
added
Deprecated.Useplus(io.qt.qml.QJSPrimitiveValue)
instead. -
added
Deprecated.Useplus(boolean)
instead. -
added
Deprecated.Useplus(int)
instead. -
added
Deprecated.Useplus(double)
instead. -
added
Deprecated.Useplus(java.lang.String)
instead. -
plus
Overloaded function for
plus(io.qt.qml.QJSPrimitiveValue)
. -
plus
Overloaded function for
plus(io.qt.qml.QJSPrimitiveValue)
. -
plus
Overloaded function for
plus(io.qt.qml.QJSPrimitiveValue)
. -
plus
Overloaded function for
plus(io.qt.qml.QJSPrimitiveValue)
. -
substracted
Deprecated.Useminus(io.qt.qml.QJSPrimitiveValue)
instead. -
substracted
Deprecated.Useminus(boolean)
instead. -
substracted
Deprecated.Useminus(int)
instead. -
substracted
Deprecated.Useminus(double)
instead. -
substracted
Deprecated.Useminus(java.lang.String)
instead. -
minus
Overloaded function for
minus(io.qt.qml.QJSPrimitiveValue)
. -
minus
Overloaded function for
minus(io.qt.qml.QJSPrimitiveValue)
. -
minus
Overloaded function for
minus(io.qt.qml.QJSPrimitiveValue)
. -
minus
Overloaded function for
minus(io.qt.qml.QJSPrimitiveValue)
. -
divided
Deprecated.Usediv(io.qt.qml.QJSPrimitiveValue)
instead. -
divided
Deprecated.Usediv(boolean)
instead. -
divided
Deprecated.Usediv(int)
instead. -
divided
Deprecated.Usediv(double)
instead. -
divided
Deprecated.Usediv(java.lang.String)
instead. -
div
Overloaded function for
div(io.qt.qml.QJSPrimitiveValue)
. -
div
Overloaded function for
div(io.qt.qml.QJSPrimitiveValue)
. -
div
Overloaded function for
div(io.qt.qml.QJSPrimitiveValue)
. -
div
Overloaded function for
div(io.qt.qml.QJSPrimitiveValue)
. -
strictlyEquals
Overloaded function for
strictlyEquals(io.qt.qml.QJSPrimitiveValue)
. -
strictlyEquals
Overloaded function for
strictlyEquals(io.qt.qml.QJSPrimitiveValue)
. -
strictlyEquals
Overloaded function for
strictlyEquals(io.qt.qml.QJSPrimitiveValue)
. -
strictlyEquals
Overloaded function for
strictlyEquals(io.qt.qml.QJSPrimitiveValue)
.
-
plus(boolean)
instead.