QPlaceUser Class

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

头文件: #include <QPlaceUser>
qmake: QT += location
开始支持版本: 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

详细描述

The QPlaceUser class represents an individual user.

成员函数

QPlaceUser::QPlaceUser()

Constructs a new user object.

QPlaceUser::QPlaceUser(const QPlaceUser &other)

Constructs a copy of other.

QPlaceUser::~QPlaceUser()

Destroys the user object.

QString QPlaceUser::name() const

Returns the name of the user.

参见 setName().

void QPlaceUser::setName(const QString &name)

Sets the name of the user.

参见 name().

void QPlaceUser::setUserId(const QString &identifier)

Sets the identifier of the user.

参见 userId().

QString QPlaceUser::userId() const

Returns the identifier of the user.

参见 setUserId().

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

Returns true if other is not equal to this user, otherwise returns false.

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

Assigns 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. Otherwise returns false.