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() const。
返回回复的类型。
© 2026 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.