Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPlaceRatingsPrivate Class Reference

#include <qplaceratings_p.h>

+ Inheritance diagram for QPlaceRatingsPrivate:
+ Collaboration diagram for QPlaceRatingsPrivate:

Public Member Functions

bool operator== (const QPlaceRatingsPrivate &other) const
 
bool isEmpty () const
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Public Attributes

qreal average = 0
 
qreal maximum = 0
 
int count = 0
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 23 of file qplaceratings_p.h.

Member Function Documentation

◆ isEmpty()

bool QPlaceRatingsPrivate::isEmpty ( ) const

Definition at line 16 of file qplaceratings.cpp.

References average, and maximum.

Referenced by QPlaceRatings::isEmpty().

+ Here is the caller graph for this function:

◆ operator==()

QT_USE_NAMESPACE bool QPlaceRatingsPrivate::operator== ( const QPlaceRatingsPrivate & other) const

Definition at line 11 of file qplaceratings.cpp.

References other().

+ Here is the call graph for this function:

Member Data Documentation

◆ average

qreal QPlaceRatingsPrivate::average = 0

Definition at line 30 of file qplaceratings_p.h.

Referenced by QPlaceRatings::average(), isEmpty(), and QPlaceRatings::setAverage().

◆ count

int QPlaceRatingsPrivate::count = 0

Definition at line 32 of file qplaceratings_p.h.

Referenced by QPlaceRatings::count(), and QPlaceRatings::setCount().

◆ maximum

qreal QPlaceRatingsPrivate::maximum = 0

Definition at line 31 of file qplaceratings_p.h.

Referenced by isEmpty(), QPlaceRatings::maximum(), and QPlaceRatings::setMaximum().


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