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 & 标识符 ) |
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 & 标识符 ) |
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。