QPlaceDetailsReply Class

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

头文件: #include <QPlaceDetailsReply>
qmake: QT += location
开始支持版本: Qt 5.6
基类: QPlaceReply

公有函数

QPlaceDetailsReply(QObject *parent = Q_NULLPTR)
virtual ~QPlaceDetailsReply()
QPlace place() const

重新实现的公有函数

virtual QPlaceReply::Type type() const

受保护的函数

void setPlace(const QPlace &place)

其他继承的成员

详细描述

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

See Fetching Place Details for an example on how to use a details reply.

参见 QPlaceManager.

成员函数

QPlaceDetailsReply::QPlaceDetailsReply(QObject *parent = Q_NULLPTR)

Constructs a details reply with a given parent.

[virtual] 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().

[virtual] QPlaceReply::Type QPlaceDetailsReply::type() const

Reimplemented from QPlaceReply::type().

Returns the type of reply.