QPlaceUser Class
Die Klasse „QPlaceUser“ repräsentiert einen einzelnen Benutzer. Mehr...
| Header: | #include <QPlaceUser> |
| qmake: | QT += location |
Eigenschaften
Öffentliche Veranstaltungen
| 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) |
Verwandte Nichtmitglieder
| bool | operator!=(const QPlaceUser &lhs, const QPlaceUser &rhs) |
| bool | operator==(const QPlaceUser &lhs, const QPlaceUser &rhs) |
Dokumentation der Eigenschaften
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 zu den Mitgliedsfunktionen
QPlaceUser::QPlaceUser()
Erstellt ein neues Benutzerobjekt.
[noexcept] QPlaceUser::QPlaceUser(const QPlaceUser &other)
Erstellt eine Kopie von „ other “.
[constexpr noexcept default] QPlaceUser::QPlaceUser(QPlaceUser &&other)
Erstellt eine Instanz von „ QPlaceUser “ mithilfe von „Move“.
[noexcept] QPlaceUser::~QPlaceUser()
Löscht das Benutzerobjekt.
[noexcept] QPlaceUser &QPlaceUser::operator=(const QPlaceUser &other)
Weist diesem Benutzer „ other “ zu und gibt eine Referenz 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.
© 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.