QPlaceDetailsReply Class

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.

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.