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
QPlaceSearchResultPrivate Class Reference

#include <qplacesearchresult_p.h>

+ Inheritance diagram for QPlaceSearchResultPrivate:
+ Collaboration diagram for QPlaceSearchResultPrivate:

Public Member Functions

 QPlaceSearchResultPrivate ()
 
virtual ~QPlaceSearchResultPrivate ()
 
virtual bool compare (const QPlaceSearchResultPrivate *other) const
 
virtual QPlaceSearchResultPrivateclone () const
 
virtual QPlaceSearchResult::SearchResultType type () 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
 

Static Public Member Functions

static const QSharedDataPointer< QPlaceSearchResultPrivate > & extract_d (const QPlaceSearchResult &other)
 
static void copyIfPossible (QSharedDataPointer< QPlaceSearchResultPrivate > &d_ptr, const QPlaceSearchResult &other)
 

Public Attributes

QString title
 
QPlaceIcon icon
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 45 of file qplacesearchresult_p.h.

Constructor & Destructor Documentation

◆ QPlaceSearchResultPrivate()

QPlaceSearchResultPrivate::QPlaceSearchResultPrivate ( )
inline

Definition at line 48 of file qplacesearchresult_p.h.

Referenced by clone(), and copyIfPossible().

+ Here is the caller graph for this function:

◆ ~QPlaceSearchResultPrivate()

virtual QPlaceSearchResultPrivate::~QPlaceSearchResultPrivate ( )
inlinevirtual

Definition at line 49 of file qplacesearchresult_p.h.

Member Function Documentation

◆ clone()

virtual QPlaceSearchResultPrivate * QPlaceSearchResultPrivate::clone ( ) const
inlinevirtual

Definition at line 56 of file qplacesearchresult_p.h.

References QPlaceSearchResultPrivate().

+ Here is the call graph for this function:

◆ compare()

bool QPlaceSearchResultPrivate::compare ( const QPlaceSearchResultPrivate * other) const
virtual

Reimplemented in QPlaceProposedSearchResultPrivate, and QPlaceResultPrivate.

Definition at line 26 of file qplacesearchresult.cpp.

References icon, other(), and title.

Referenced by QPlaceProposedSearchResultPrivate::compare(), QPlaceResultPrivate::compare(), and QPlaceSearchResult::operator==().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ copyIfPossible()

static void QPlaceSearchResultPrivate::copyIfPossible ( QSharedDataPointer< QPlaceSearchResultPrivate > & d_ptr,
const QPlaceSearchResult & other )
inlinestatic

Definition at line 58 of file qplacesearchresult_p.h.

References QPlaceSearchResultPrivate(), extract_d(), other(), and QPlaceSearchResult::UnknownSearchResult.

+ Here is the call graph for this function:

◆ extract_d()

static const QSharedDataPointer< QPlaceSearchResultPrivate > & QPlaceSearchResultPrivate::extract_d ( const QPlaceSearchResult & other)
inlinestatic

Definition at line 54 of file qplacesearchresult_p.h.

References other().

Referenced by copyIfPossible().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ type()

virtual QPlaceSearchResult::SearchResultType QPlaceSearchResultPrivate::type ( ) const
inlinevirtual

Definition at line 57 of file qplacesearchresult_p.h.

References QPlaceSearchResult::UnknownSearchResult.

Referenced by QPlaceSearchResult::type().

+ Here is the caller graph for this function:

Member Data Documentation

◆ icon

QPlaceIcon QPlaceSearchResultPrivate::icon

Definition at line 67 of file qplacesearchresult_p.h.

◆ title

QString QPlaceSearchResultPrivate::title

Definition at line 66 of file qplacesearchresult_p.h.


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