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)

자세한 설명

콘텐츠 답장을 사용하는 방법에 대한 예는 리치 콘텐츠 가져오기를 참조하세요.

QPlaceContentRequestQPlaceManager참조하세요 .

멤버 함수 문서

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

회신 유형을 반환합니다.

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