QPlaceSupplier Class
QPlaceSupplier 클래스는 장소 또는 장소와 관련된 콘텐츠의 공급업체를 나타냅니다. 더 보기...
Header: | #include <QPlaceSupplier> |
qmake: | QT += location |
속성
- icon : QPlaceIcon
- name : QString
- supplierId : QString
- url : QUrl
공공 기능
QPlaceSupplier() | |
QPlaceSupplier(const QPlaceSupplier &other) | |
~QPlaceSupplier() | |
QPlaceIcon | icon() const |
bool | isEmpty() const |
QString | name() const |
void | setIcon(const QPlaceIcon &icon) |
void | setName(const QString &name) |
void | setSupplierId(const QString &identifier) |
void | setUrl(const QUrl &url) |
QString | supplierId() const |
QUrl | url() const |
QPlaceSupplier & | operator=(const QPlaceSupplier &other) |
관련 비회원
bool | operator!=(const QPlaceSupplier &lhs, const QPlaceSupplier &rhs) |
bool | operator==(const QPlaceSupplier &lhs, const QPlaceSupplier &rhs) |
상세 설명
각 인스턴스는 공급업체에 대한 데이터 집합을 나타내며, 여기에는 공급업체의 이름, URL 및 아이콘이 포함될 수 있습니다. 공급업체는 일반적으로 비즈니스 또는 조직입니다.
참고: 장소 API는 공급업체를 '검색 전용' 객체로만 지원합니다. 공급업체를 공급업체에 제출하는 것은 지원되는 사용 사례가 아닙니다.
숙소 문서
icon : QPlaceIcon
이 속성에는 공급업체 아이콘이 있습니다.
액세스 기능:
QPlaceIcon | icon() const |
void | setIcon(const QPlaceIcon &icon) |
name : QString
이 속성에는 사용자에게 표시할 수 있는 공급업체의 이름이 저장됩니다.
이 이름은 현지화될 수 있습니다. 언어는 이를 설정하는 엔터티에 따라 달라지며, 일반적으로 QPlaceManager. QPlaceManager::locales() 필드는 사용되는 언어를 정의합니다.
액세스 기능:
QString | name() const |
void | setName(const QString &name) |
supplierId : QString
이 속성은 공급업체의 식별자를 보유합니다.
이 식별자는 공급업체를 제공한 관리자 백엔드에 고유하며 일반적으로 사용자에게 표시하는 데 적합하지 않습니다.
액세스 기능:
QString | supplierId() const |
void | setSupplierId(const QString &identifier) |
url : QUrl
이 속성에는 공급업체 웹사이트의 URL이 저장됩니다.
액세스 함수:
QUrl | url() const |
void | setUrl(const QUrl &url) |
멤버 함수 문서
QPlaceSupplier::QPlaceSupplier()
새 공급업체 개체를 생성합니다.
[noexcept]
QPlaceSupplier::QPlaceSupplier(const QPlaceSupplier &other)
other 의 복사본을 생성합니다.
[noexcept]
QPlaceSupplier::~QPlaceSupplier()
공급자 개체를 삭제합니다.
bool QPlaceSupplier::isEmpty() const
장소 공급업체의 모든 필드가 0이면 참을 반환하고, 그렇지 않으면 거짓을 반환합니다.
void QPlaceSupplier::setIcon(const QPlaceIcon &icon)
공급업체의 icon 을 설정합니다.
참고: 속성에 대한 설정자 함수 icon.
icon()도 참조하세요 .
void QPlaceSupplier::setName(const QString &name)
공급업체의 name 을 설정합니다.
참고: 속성에 대한 설정자 함수 name.
name()도 참조하세요 .
void QPlaceSupplier::setSupplierId(const QString &identifier)
공급업체의 identifier 을 설정합니다.
참고: 속성에 대한 설정자 함수 supplierId.
supplierId()도 참조하세요 .
void QPlaceSupplier::setUrl(const QUrl &url)
공급업체 웹사이트의 url 을 설정합니다.
참고: 속성에 대한 설정자 함수 url.
url()도 참조하세요 .
[noexcept]
QPlaceSupplier &QPlaceSupplier::operator=(const QPlaceSupplier &other)
이 공급업체에 other 을 할당하고 이 공급업체에 대한 참조를 반환합니다.
관련 비회원
[noexcept]
bool operator!=(const QPlaceSupplier &lhs, const QPlaceSupplier &rhs)
lhs 이 rhs 과 같지 않으면 참을 반환하고, 그렇지 않으면 거짓을 반환합니다.
[noexcept]
bool operator==(const QPlaceSupplier &lhs, const QPlaceSupplier &rhs)
lhs 이 rhs 과 같으면 참을 반환하고, 그렇지 않으면 거짓을 반환합니다.
© 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.