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.