java.lang.Object
io.qt.QtObject
io.qt.location.QPlaceSearchResult
io.qt.location.QPlaceResult
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a search result containing a place
Java wrapper for Qt class QPlaceResult
- Since:
- This class was introduced in Qt 5.6.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.location.QPlaceSearchResult
QPlaceSearchResult.SearchResultType
-
Constructor Summary
ConstructorDescriptionQPlaceResult
(QPlaceResult other) SeeQPlaceResult::
QPlaceResult(QPlaceResult) QPlaceResult
(QPlaceSearchResult other) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final double
distance()
final boolean
final QPlace
place()
final void
setDistance
(double distance) final void
final void
setSponsored
(boolean sponsored) Methods inherited from class io.qt.location.QPlaceSearchResult
assign, equals, equals, hashCode, icon, setIcon, setTitle, title, type
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPlaceResult
public QPlaceResult() -
QPlaceResult
See
QPlaceResult::
QPlaceResult(QPlaceResult) - Parameters:
other
-
-
QPlaceResult
- Parameters:
other
-
-
-
Method Details
-
distance
- Returns:
-
isSponsored
- Returns:
-
place
- Returns:
-
setDistance
- Parameters:
distance
-
-
setPlace
- Parameters:
place
-
-
setSponsored
- Parameters:
sponsored
-
-
clone
Creates and returns a copy of this object.
See
QPlaceResult::
QPlaceResult(QPlaceResult) - Overrides:
clone
in classQPlaceSearchResult
-