QPlaceContentReply Class
QPlaceContentReply 클래스는 QPlaceManager 인스턴스에 의해 시작된 콘텐츠 검색 작업을 관리합니다. 더 보기...
| Header: | #include <QPlaceContentReply> |
| qmake: | QT += location |
| Inherits: | QPlaceReply |
공개 함수
| QPlaceContentReply(QObject *parent = nullptr) | |
| virtual | ~QPlaceContentReply() |
| QPlaceContent::Collection | content() const |
| QPlaceContentRequest | nextPageRequest() const |
| QPlaceContentRequest | previousPageRequest() const |
| QPlaceContentRequest | request() const |
| int | totalCount() const |
재구현된 공용 함수
| virtual QPlaceReply::Type | type() const override |
보호된 함수
| void | setContent(const QPlaceContent::Collection &content) |
| void | setNextPageRequest(const QPlaceContentRequest &next) |
| void | setPreviousPageRequest(const QPlaceContentRequest &previous) |
| void | setRequest(const QPlaceContentRequest &request) |
| void | setTotalCount(int total) |
상세 설명
콘텐츠 응답 사용 방법에 대한 예제는 ‘리치 콘텐츠 가져오기’를 참조하십시오.
QPlaceContentRequest 및 QPlaceManager도 참조하십시오 .
멤버 함수 문서
[explicit] QPlaceContentReply::QPlaceContentReply(QObject *parent = nullptr)
지정된 parent 를 사용하여 콘텐츠 응답을 생성합니다.
[virtual noexcept] QPlaceContentReply::~QPlaceContentReply()
답장을 삭제합니다.
QPlaceContent::Collection QPlaceContentReply::content() const
검색된 콘텐츠 모음을 반환합니다.
setContent()도 참조하십시오 .
QPlaceContentRequest QPlaceContentReply::nextPageRequest() const
다음 배치의 장소 콘텐츠 결과를 요청하는 데 사용할 수 있는 장소 콘텐츠 요청을 반환합니다.
setNextPageRequest()도 참조하십시오 .
QPlaceContentRequest QPlaceContentReply::previousPageRequest() const
이전 배치의 장소 콘텐츠 결과를 요청하는 데 사용할 수 있는 장소 콘텐츠 요청을 반환합니다.
setPreviousPageRequest()도 참조하십시오 .
QPlaceContentRequest QPlaceContentReply::request() const
이 응답을 생성하는 데 사용된 콘텐츠 요청을 반환합니다.
setRequest()도 참조하십시오 .
[protected] void QPlaceContentReply::setContent(const QPlaceContent::Collection &content)
응답의 content 를 설정합니다.
content()도 참조하십시오 .
[protected] void QPlaceContentReply::setNextPageRequest(const QPlaceContentRequest &next)
next 에 다음 배치의 장소 콘텐츠 결과를 요청하는 데 사용할 수 있는 장소 콘텐츠 요청을 설정합니다.
nextPageRequest()도 참조하십시오 .
[protected] void QPlaceContentReply::setPreviousPageRequest(const QPlaceContentRequest &previous)
previous 에 대한 이전 배치의 장소 콘텐츠 결과를 요청하는 데 사용할 수 있는 장소 콘텐츠 요청을 설정합니다.
previousPageRequest()도 참조하십시오 .
[protected] void QPlaceContentReply::setRequest(const QPlaceContentRequest &request)
이 답글을 생성하는 데 사용된 콘텐츠 request 를 설정합니다.
request()도 참조하십시오 .
[protected] void QPlaceContentReply::setTotalCount(int total)
장소에 대한 콘텐츠 객체의 수( total )를 설정합니다.
totalCount()도 참조하십시오 .
int QPlaceContentReply::totalCount() const
지정된 장소에 대한 콘텐츠 개체의 총 개수를 반환합니다. 콘텐츠 개체의 총 개수를 집계할 수 없는 경우 -1이 반환됩니다. 이 개수는 단일 콘텐츠 유형, 즉 QPlaceManager 를 통해 콘텐츠를 요청할 때 지정된 콘텐츠 유형에 대한 총 개수만을 의미합니다.
setTotalCount()도 참조하십시오 .
[override virtual] QPlaceReply::Type QPlaceContentReply::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.