java.lang.Object
io.qt.QtObject
io.qt.location.QPlaceRatings
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds rating information about a place
Java wrapper for Qt's class QPlaceRatings
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionQPlaceRatings
(QPlaceRatings other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QPlaceRatings other) final double
average()
clone()
Creates and returns a copy of this object.final int
count()
boolean
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.final double
Kotlin property getter.final int
getCount()
Kotlin property getter.final double
Kotlin property getter.int
hashCode()
final boolean
isEmpty()
final double
maximum()
final void
setAverage
(double average) final void
setCount
(int count) final void
setMaximum
(double max) final void
swap
(QPlaceRatings other) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QPlaceRatings
public QPlaceRatings() -
QPlaceRatings
-
QPlaceRatings
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
getAverage
Kotlin property getter. In Java use
average()
instead. -
average
-
getCount
Kotlin property getter. In Java use
count()
instead. -
count
-
isEmpty
-
getMaximum
Kotlin property getter. In Java use
maximum()
instead. -
maximum
-
assign
-
setAverage
-
setCount
-
setMaximum
-
swap
-
equals
Description copied from class: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. -
hashCode
-
clone
Creates and returns a copy of this object.
-