The QPlaceUser class represents an individual user. 更多...
| 頭: | #include <QPlaceUser> |
| qmake: | QT += location |
| Since: | Qt 5.6 |
該類在 Qt 5.6 引入。
| QPlaceUser (const QPlaceUser & other ) | |
| QPlaceUser () | |
| QPlaceUser & | operator= (const QPlaceUser & other ) |
| ~QPlaceUser () | |
| QString | name () const |
| void | setName (const QString & name ) |
| void | setUserId (const QString & identifier ) |
| QString | userId () const |
| bool | operator!= (const QPlaceUser & other ) const |
| bool | operator== (const QPlaceUser & other ) const |
構造副本為 other .
Constructs a new user object.
賦值 other to this user and returns a reference to this user.
Destroys the user object.
Returns the name of the user.
另請參閱 setName ().
設置 name of the user.
另請參閱 name ().
設置 identifier of the user.
另請參閱 userId ().
Returns the identifier of the user.
另請參閱 setUserId ().
返迴 true 若 other is not equal to this user, otherwise returns false.
Returns true if this user is equal to other 。否則返迴 false。