En esta página

QPlaceUser Class

La clase QPlaceUser representa a un usuario concreto. Más información...

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

Propiedades

Funciones 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)

Descripción detallada

Documentación de propiedades

name : QString

Esta propiedad contiene el nombre del usuario.

Funciones de acceso:

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

userId : QString

Esta propiedad contiene el identificador del usuario.

Funciones de acceso:

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

Documentación de las funciones de miembro

QPlaceUser::QPlaceUser()

Crea un nuevo objeto de usuario.

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

Crea una copia de other.

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

Crea una instancia de ` QPlaceUser` mediante la construcción «move».

[noexcept] QPlaceUser::~QPlaceUser()

Elimina el objeto de usuario.

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

Asigna « other » a este usuario y devuelve una referencia a este usuario.

Usuarios no miembros relacionados

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

Devuelve «true» si « lhs » no es igual a « rhs »; en caso contrario, devuelve «false».

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

Devuelve «true» si « lhs » es igual a « rhs »; en caso contrario, devuelve «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.