Nesta página

QPlaceUser Class

A classe QPlaceUser representa um usuário individual. Mais...

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

Propriedades

Funções públicas

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)

Descrição detalhada

Documentação da propriedade

name : QString

Essa propriedade contém o nome do usuário.

Funções de acesso:

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

userId : QString

Esta propriedade contém o identificador do usuário.

Funções de acesso:

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

Documentação das funções de membro

QPlaceUser::QPlaceUser()

Cria um novo objeto de usuário.

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

Cria uma cópia de other.

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

Move cria uma instância de ` QPlaceUser`.

[noexcept] QPlaceUser::~QPlaceUser()

Destrói o objeto do usuário.

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

Atribui ` other ` a este usuário e retorna uma referência a este usuário.

Não-membros relacionados

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

Retorna `true` se ` lhs ` não for igual a ` rhs`; caso contrário, retorna `false`.

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

Retorna `true` se ` lhs ` for igual a ` rhs`; caso contrário, retorna `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.