QPlaceSupplier Class

QPlaceSupplier クラスは、場所または場所に関連するコンテンツのサプライヤーを表します。詳細...

Header: #include <QPlaceSupplier>
qmake: QT += location

プロパティ

パブリック機能

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、アイコンを含む、サプライヤーに関するデータのセットを表します。サプライヤーは通常、企業や組織です。

注意: Places APIは、'retrieve-only'オブジェクトとしてのみサプライヤをサポートします。サプライヤをプロバイダに送信することは、サポートされていないユースケースです。

Propertyドキュメント

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の場合はtrueを返し、それ以外の場合はfalseを返します。

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)

lhsrhs と等しくなければ真を返し、そうでなければ偽を返す。

[noexcept] bool operator==(const QPlaceSupplier &lhs, const QPlaceSupplier &rhs)

lhsrhs と等しければ真を返し、そうでなければ偽を返す。

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