QPlaceUser Class

QPlaceUser class represents an individual user. 更多...

头: #include <QPlaceUser>
qmake: QT += location
Since: Qt 5.6

公共函数

QPlaceUser ()
QPlaceUser (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
QPlaceUser & operator= (const QPlaceUser & other )
bool operator== (const QPlaceUser & other ) const

详细描述

QPlaceUser class represents an individual user.

成员函数文档编制

QPlaceUser:: QPlaceUser ()

Constructs a new user object.

QPlaceUser:: QPlaceUser (const QPlaceUser & other )

构造副本为 other .

QPlaceUser:: ~QPlaceUser ()

Destroys the user object.

QString QPlaceUser:: name () const

Returns the name of the user.

另请参阅 setName ().

void QPlaceUser:: setName (const QString & name )

设置 name of the user.

另请参阅 name ().

void QPlaceUser:: setUserId (const QString & identifier )

设置 identifier of the user.

另请参阅 userId ().

QString QPlaceUser:: userId () const

Returns the identifier of the user.

另请参阅 setUserId ().

bool QPlaceUser:: operator!= (const QPlaceUser & other ) const

返回 true 若 other is not equal to this user, otherwise returns false.

QPlaceUser &QPlaceUser:: operator= (const QPlaceUser & other )

赋值 other to this user and returns a reference to this user.

bool QPlaceUser:: operator== (const QPlaceUser & other ) const

Returns true if this user is equal to other 。否则返回 false。