![]() |
Qt 6.x
The Qt SDK
|
#include <qplaceratings_p.h>
Public Member Functions | |
bool | operator== (const QPlaceRatingsPrivate &other) const |
bool | isEmpty () const |
![]() | |
QSharedData () noexcept | |
Constructs a QSharedData object with a reference count of 0. | |
QSharedData (const QSharedData &) noexcept | |
Constructs a QSharedData object with reference count 0. | |
QSharedData & | operator= (const QSharedData &)=delete |
~QSharedData ()=default | |
Public Attributes | |
qreal | average = 0 |
qreal | maximum = 0 |
int | count = 0 |
![]() | |
QAtomicInt | ref |
Definition at line 23 of file qplaceratings_p.h.
bool QPlaceRatingsPrivate::isEmpty | ( | ) | const |
Definition at line 16 of file qplaceratings.cpp.
References average, and maximum.
Referenced by QPlaceRatings::isEmpty().
QT_USE_NAMESPACE bool QPlaceRatingsPrivate::operator== | ( | const QPlaceRatingsPrivate & | other | ) | const |
Definition at line 11 of file qplaceratings.cpp.
References other().
qreal QPlaceRatingsPrivate::average = 0 |
Definition at line 30 of file qplaceratings_p.h.
Referenced by QPlaceRatings::average(), isEmpty(), and QPlaceRatings::setAverage().
int QPlaceRatingsPrivate::count = 0 |
Definition at line 32 of file qplaceratings_p.h.
Referenced by QPlaceRatings::count(), and QPlaceRatings::setCount().
qreal QPlaceRatingsPrivate::maximum = 0 |
Definition at line 31 of file qplaceratings_p.h.
Referenced by isEmpty(), QPlaceRatings::maximum(), and QPlaceRatings::setMaximum().