Sur cette page

QPlaceUser Class

La classe QPlaceUser représente un utilisateur individuel. Plus d'informations...

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

Propriétés

Fonctions publiques

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)

Description détaillée

Documentation sur les propriétés

name : QString

Cette propriété contient le nom de l'utilisateur.

Fonctions d'accès :

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

userId : QString

Cette propriété contient l'identifiant de l'utilisateur.

Fonctions d'accès :

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

Documentation des fonctions membres

QPlaceUser::QPlaceUser()

Construit un nouvel objet utilisateur.

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

Construit une copie de other.

[noexcept] QPlaceUser::~QPlaceUser()

Détruit l'objet utilisateur.

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

Attribue other à cet utilisateur et renvoie une référence à cet utilisateur.

Non-membres apparentés

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

Retourne vrai si lhs n'est pas égal à rhs, sinon retourne faux.

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

Retourne vrai si lhs est égal à rhs, sinon retourne faux.

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