In questa pagina

QPlaceUser Class

La classe QPlaceUser rappresenta un singolo utente. Maggiori informazioni...

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

Proprietà

Funzioni pubbliche

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)

Descrizione dettagliata

Documentazione sulle proprietà

name : QString

Questa proprietà contiene il nome dell'utente.

Funzioni di accesso:

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

userId : QString

Questa proprietà contiene l'identificatore dell'utente.

Funzioni di accesso:

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

Documentazione sulle funzioni membro

QPlaceUser::QPlaceUser()

Crea un nuovo oggetto utente.

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

Crea una copia di other.

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

Crea un'istanza di ` QPlaceUser` tramite il costrutto `move`.

[noexcept] QPlaceUser::~QPlaceUser()

Elimina l'oggetto utente.

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

Assegna " other " a questo utente e restituisce un riferimento a tale utente.

Persone correlate non iscritte

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

Restituisce true se lhs non è uguale a rhs; in caso contrario, restituisce false.

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

Restituisce true se lhs è uguale a rhs, altrimenti restituisce 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.