Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QPlaceUser Class Reference

\inmodule QtLocation More...

#include <qplaceuser.h>

Collaboration diagram for QPlaceUser:

Public Member Functions

 QPlaceUser ()
 \qmlvaluetype user \inqmlmodule QtLocation
 QPlaceUser (const QPlaceUser &other) noexcept
 Constructs a copy of other.
 QPlaceUser (QPlaceUser &&other) noexcept=default
 ~QPlaceUser ()
 Destroys the user object.
QPlaceUseroperator= (const QPlaceUser &other) noexcept
 Assigns other to this user and returns a reference to this user.
void swap (QPlaceUser &other) noexcept
QString userId () const
void setUserId (const QString &identifier)
QString name () const
void setName (const QString &name)

Properties

QML_STRUCTURED_VALUEQString userId
 \qmlproperty string QtLocation::user::userId
QString name
 \qmlproperty string QtLocation::user::name

Friends

bool operator== (const QPlaceUser &lhs, const QPlaceUser &rhs) noexcept
 Returns true if lhs is equal to rhs, otherwise returns false.
bool operator!= (const QPlaceUser &lhs, const QPlaceUser &rhs) noexcept
 Returns true if lhs is not equal to rhs, otherwise returns false.

Detailed Description

\inmodule QtLocation

Since
5.6

The QPlaceUser class represents an individual user.

Definition at line 18 of file qplaceuser.h.

Constructor & Destructor Documentation

◆ QPlaceUser() [1/3]

QPlaceUser::QPlaceUser ( )

\qmlvaluetype user \inqmlmodule QtLocation

Since
QtLocation 5.5

The user type identifies a user who contributed a particular \l Place content item.

Each \l Place content item has an associated user who contributed the content. This type provides information about that user.

Definition at line 55 of file qplaceuser.cpp.

◆ QPlaceUser() [2/3]

QPlaceUser::QPlaceUser ( const QPlaceUser & other)
defaultnoexcept

Constructs a copy of other.

◆ QPlaceUser() [3/3]

QPlaceUser::QPlaceUser ( QPlaceUser && other)
defaultnoexcept

◆ ~QPlaceUser()

QPlaceUser::~QPlaceUser ( )
default

Destroys the user object.

Member Function Documentation

◆ name()

QString QPlaceUser::name ( ) const

Definition at line 129 of file qplaceuser.cpp.

◆ operator=()

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

Assigns other to this user and returns a reference to this user.

Definition at line 73 of file qplaceuser.cpp.

◆ setName()

void QPlaceUser::setName ( const QString & name)

Definition at line 134 of file qplaceuser.cpp.

◆ setUserId()

void QPlaceUser::setUserId ( const QString & identifier)

Definition at line 114 of file qplaceuser.cpp.

◆ swap()

void QPlaceUser::swap ( QPlaceUser & other)
inlinenoexcept

Definition at line 36 of file qplaceuser.h.

◆ userId()

QString QPlaceUser::userId ( ) const

Definition at line 109 of file qplaceuser.cpp.

◆ operator!=

bool operator!= ( const QPlaceUser & lhs,
const QPlaceUser & rhs )
friend

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

Definition at line 40 of file qplaceuser.h.

◆ operator==

bool operator== ( const QPlaceUser & lhs,
const QPlaceUser & rhs )
friend

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

Definition at line 38 of file qplaceuser.h.

Property Documentation

◆ name

QString QPlaceUser::name
readwrite

\qmlproperty string QtLocation::user::name

This property holds the name of a user.

the name of the user.

Definition at line 25 of file qplaceuser.h.

Referenced by testing.tools.encode_pdf_filter._PdfStream::RegisterByName().

◆ userId

QML_STRUCTURED_VALUEQString QPlaceUser::userId
readwrite

\qmlproperty string QtLocation::user::userId

This property holds the unique identifier of the user.

the identifier of the user.

Definition at line 24 of file qplaceuser.h.


The documentation for this class was generated from the following files: