The QPlaceUser class represents an individual user. 更多...
| 頭: | #include <QPlaceUser> |
| qmake: | QT += location |
| 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 ) |
This property holds the name of the user.
訪問函數:
| QString | name () const |
| void | setName (const QString & name ) |
This property holds the identifier of the user.
訪問函數:
| QString | userId () const |
| void | setUserId (const QString & identifier ) |
Constructs a new user object.
構造副本為 other .
Destroys the user object.
賦值 other to this user and returns a reference to this user.
返迴 true 若 lhs 不等於 rhs ,否則返迴 false。
返迴 true 若 lhs 等於 rhs ,否則返迴 false。