このページでは

QPlaceUser Class

QPlaceUser クラスは、個々のユーザーを表します。詳細...

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

プロパティ

公開関数

QPlaceUser()
QPlaceUser(const QPlaceUser &other)
QPlaceUser(QPlaceUser &&other)
~QPlaceUser()
QString name() const
void setName(const QString &name)
void setUserId(const QString &identifier)
QString userId() const
QPlaceUser &operator=(const QPlaceUser &other)
bool operator!=(const QPlaceUser &lhs, const QPlaceUser &rhs)
bool operator==(const QPlaceUser &lhs, const QPlaceUser &rhs)

詳細な説明

プロパティのドキュメント

name : QString

このプロパティには、ユーザーの名前が格納されます。

アクセス関数:

QString name() const
void setName(const QString &name)

userId : QString

このプロパティには、ユーザーの識別子が格納されます。

アクセス関数:

QString userId() const
void setUserId(const QString &identifier)

メンバ関数のドキュメント

QPlaceUser::QPlaceUser()

新しいユーザーオブジェクトを作成します。

[noexcept] QPlaceUser::QPlaceUser(const QPlaceUser &other)

other のコピーを作成します。

[constexpr noexcept default] QPlaceUser::QPlaceUser(QPlaceUser &&other)

QPlaceUser のインスタンスをMoveコンストラクタで生成します。

[noexcept] QPlaceUser::~QPlaceUser()

userオブジェクトを破棄します。

[noexcept] QPlaceUser &QPlaceUser::operator=(const QPlaceUser &other)

このユーザーにother を割り当て、このユーザーへの参照を返します。

関連する非メンバー

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

lhs がrhs と等しくない場合は true を返し、そうでない場合は false を返します。

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

lhs がrhs と等しい場合はtrueを返し、そうでない場合はfalseを返します。

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