PySide6.QtLocation.QPlaceUser

class QPlaceUser

The QPlaceUser class represents an individual user. More

Synopsis

Properties

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property nameᅟ: str

This property holds the name of the user..

Access functions:
property userIdᅟ: str

This property holds the identifier of the user..

Access functions:
__init__()

Constructs a new user object.

__init__(other)
Parameters:

otherQPlaceUser

Constructs a copy of other.

name()
Return type:

str

See also

setName()

Getter of property nameᅟ .

__ne__(rhs)
Parameters:

rhsQPlaceUser

Return type:

bool

Returns true if lhs is not equal to rhs, otherwise returns false.

__eq__(rhs)
Parameters:

rhsQPlaceUser

Return type:

bool

Returns true if lhs is equal to rhs, otherwise returns false.

setName(name)
Parameters:

name – str

See also

name()

Setter of property nameᅟ .

setUserId(identifier)
Parameters:

identifier – str

See also

userId()

Setter of property userIdᅟ .

swap(other)
Parameters:

otherQPlaceUser

userId()
Return type:

str

See also

setUserId()

Getter of property userIdᅟ .