QPlaceDetailsReply Class

QPlaceDetailsReply 类管理由QPlaceManager 实例启动的地点详细信息获取操作。更多...

Header: #include <QPlaceDetailsReply>
qmake: QT += location
Inherits: QPlaceReply

公共函数

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

重新实现的公共函数

virtual QPlaceReply::Type type() const override

受保护函数

void setPlace(const QPlace &place)

详细说明

有关如何使用详情回复的示例,请参阅 "获取地点详情"。

另请参阅 QPlaceManager

成员函数文档

[explicit] QPlaceDetailsReply::QPlaceDetailsReply(QObject *parent = nullptr)

用给定的parent 构建详情回复。

[virtual noexcept] QPlaceDetailsReply::~QPlaceDetailsReply()

销毁详细回复。

QPlace QPlaceDetailsReply::place() const

返回获取的位置。

另请参阅 setPlace()。

[protected] void QPlaceDetailsReply::setPlace(const QPlace &place)

设置获取的回复place

另请参阅 place()。

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

重实现:QPlaceReply::type() 常量。

返回回复的类型。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.