QPlaceDetailsReply Class

The QPlaceDetailsReply class manages a place details fetch operation started by an instance of QPlaceManager . 更多...

頭: #include <QPlaceDetailsReply>
qmake: QT += location
Since: Qt 5.6
繼承: QPlaceReply

該類在 Qt 5.6 引入。

公共函數

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 .

成員函數文檔編製

QPlaceDetailsReply:: QPlaceDetailsReply ( QObject * parent = nullptr)

Constructs a details reply with a given parent .

[虛擬] QPlaceDetailsReply:: ~QPlaceDetailsReply ()

Destroys the details reply.

QPlace QPlaceDetailsReply:: place () const

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.