QPlaceUser Class

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 )

详细描述

特性文档编制

name : QString

This property holds the name of the user.

访问函数:

QString 名称 () const
void setName (const QString & name )

userId : QString

This property holds the identifier of the user.

访问函数:

QString userId () const
void setUserId (const QString & identifier )

成员函数文档编制

QPlaceUser:: QPlaceUser ()

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。