- class QPlaceUser¶
The
QPlaceUser
class represents an individual user. More…Synopsis¶
Properties¶
Methods¶
def
__init__()
def
name()
def
__ne__()
def
__eq__()
def
setName()
def
setUserId()
def
swap()
def
userId()
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..
- property userIdᅟ: str¶
This property holds the identifier of the user..
- Access functions:
- __init__()¶
Constructs a new user object.
- __init__(other)
- Parameters:
other –
QPlaceUser
Constructs a copy of
other
.Getter of property
nameᅟ
.- __ne__(rhs)¶
- Parameters:
rhs –
QPlaceUser
- Return type:
bool
Returns true if
lhs
is not equal torhs
, otherwise returns false.- __eq__(rhs)¶
- Parameters:
rhs –
QPlaceUser
- Return type:
bool
Returns true if
lhs
is equal torhs
, otherwise returns false.Setter of property
nameᅟ
.Setter of property
userIdᅟ
.- swap(other)¶
- Parameters:
other –
QPlaceUser
- userId()¶
- Return type:
str
See also
Getter of property
userIdᅟ
.