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
-
Constructor Summary
ModifierConstructorDescriptionQPlaceRatings
(QPlaceRatings other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QPlaceRatings other) final double
average()
clone()
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.int
hashCode()
final boolean
isEmpty()
final double
maximum()
final void
setAverage
(double average) final void
setCount
(int count) final void
setMaximum
(double max) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPlaceRatings
public QPlaceRatings() -
QPlaceRatings
-
QPlaceRatings
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
average
-
count
-
isEmpty
-
maximum
-
assign
-
setAverage
-
setCount
-
setMaximum
-
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
-