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 )

詳細描述

特性文檔編製

名稱 : 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。