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.
[noexcept]
QPlaceUser::
QPlaceUser
(const
QPlaceUser
&
other
)
构造副本为 other .
[noexcept]
QPlaceUser::
~QPlaceUser
()
Destroys the user object.
[noexcept]
QPlaceUser
&QPlaceUser::
operator=
(const
QPlaceUser
&
other
)
赋值 other to this user and returns a reference to this user.
[noexcept]
bool
operator!=
(const
QPlaceUser
&
lhs
, const
QPlaceUser
&
rhs
)
返回 true 若 lhs 不等于 rhs ,否则返回 false。
[noexcept]
bool
operator==
(const
QPlaceUser
&
lhs
, const
QPlaceUser
&
rhs
)
返回 true 若 lhs 等于 rhs ,否则返回 false。