The QPlaceDetailsReply class manages a place details fetch operation started by an instance of QPlaceManager . 更多...
头: | #include <QPlaceDetailsReply> |
qmake: | QT += location |
继承: | QPlaceReply |
QPlaceDetailsReply (QObject * parent = nullptr) | |
virtual | ~QPlaceDetailsReply () |
QPlace | place () const |
virtual QPlaceReply::Type | type () const override |
void | setPlace (const QPlace & place ) |
见 Fetching Place Details for an example on how to use a details reply.
另请参阅 QPlaceManager .
[explicit]
QPlaceDetailsReply::
QPlaceDetailsReply
(
QObject
*
parent
= nullptr)
Constructs a details reply with a given parent .
[virtual noexcept]
QPlaceDetailsReply::
~QPlaceDetailsReply
()
Destroys the details reply.
Returns the place that was fetched.
另请参阅 setPlace ().
[protected]
void
QPlaceDetailsReply::
setPlace
(const
QPlace
&
place
)
Sets the fetched place of the reply.
另请参阅 place ().
[override virtual]
QPlaceReply::Type
QPlaceDetailsReply::
type
() const
重实现: QPlaceReply::type() const .
Returns the type of reply.