本页内容

QPlaceProposedSearchResult Class

QPlaceProposedSearchResult 类表示一个包含建议搜索结果的搜索结果。更多内容...

Header: #include <QPlaceProposedSearchResult>
qmake: QT += location
Since: QtLocation 5.2
Inherits: QPlaceSearchResult

公共函数

QPlaceProposedSearchResult()
QPlaceProposedSearchResult(const QPlaceSearchRequest &other)
virtual ~QPlaceProposedSearchResult()
QPlaceSearchRequest searchRequest() const
void setSearchRequest(const QPlaceSearchRequest &request)

详细说明

另请参阅 QPlaceSearchResult 。

成员函数文档

QPlaceProposedSearchResult::QPlaceProposedSearchResult()

构建一个新的建议搜索结果。

QPlaceProposedSearchResult::QPlaceProposedSearchResult(const QPlaceSearchRequest &other)

如果可能,则构建other 的副本;否则,构建一个默认的建议搜索结果。

[virtual noexcept] QPlaceProposedSearchResult::~QPlaceProposedSearchResult()

删除该搜索结果。

QPlaceSearchRequest QPlaceProposedSearchResult::searchRequest() const

返回一个位置搜索请求,可用于执行额外的建议搜索。

另请参阅 setSearchRequest()。

void QPlaceProposedSearchResult::setSearchRequest(const QPlaceSearchRequest &request)

将建议的搜索请求设置为request 。

另请参阅 searchRequest()。

© 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.