QPlaceUser Class

QPlaceUser 클래스는 개별 사용자를 나타냅니다. 더 보기...

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

속성

공공 기능

QPlaceUser()
QPlaceUser(const 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 의 복사본을 생성합니다.

[noexcept] QPlaceUser::~QPlaceUser()

사용자 객체를 삭제합니다.

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

이 사용자에게 other 을 할당하고 이 사용자에 대한 참조를 반환합니다.

관련 비회원

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

lhsrhs 과 같지 않으면 참을 반환하고, 그렇지 않으면 거짓을 반환합니다.

[noexcept] bool operator==(const QPlaceUser &lhs, const QPlaceUser &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.