QPlaceUser Class

Die Klasse QPlaceUser repräsentiert einen einzelnen Benutzer. Mehr...

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

Eigenschaften

Öffentliche Funktionen

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)

Detaillierte Beschreibung

Dokumentation der Eigenschaft

name : QString

Diese Eigenschaft enthält den Namen des Benutzers.

Zugriffsfunktionen:

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

userId : QString

Diese Eigenschaft enthält die Kennung des Benutzers.

Zugriffsfunktionen:

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

Dokumentation der Mitgliedsfunktionen

QPlaceUser::QPlaceUser()

Konstruiert ein neues Benutzerobjekt.

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

Konstruiert eine Kopie von other.

[noexcept] QPlaceUser::~QPlaceUser()

Zerstört das Benutzerobjekt.

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

Weist other diesem Benutzer zu und gibt einen Verweis auf diesen Benutzer zurück.

Verwandte Nicht-Mitglieder

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

Gibt true zurück, wenn lhs nicht gleich rhs ist, andernfalls wird false zurückgegeben.

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

Gibt true zurück, wenn lhs gleich rhs ist, andernfalls wird false zurückgegeben.

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