7#include <QtCore/qnumeric.h>
virtual bool compare(const QPlaceSearchResultPrivate *other) const
virtual QPlaceSearchResult::SearchResultType type() const
QSharedDataPointer< QPlaceSearchResultPrivate > d_ptr
void setTitle(const QString &title)
Sets the title of the search result to title.
void setIcon(const QPlaceIcon &icon)
Sets the icon of the search result to icon.
QString title() const
Returns the title of the search result.
virtual ~QPlaceSearchResult()
Destroys the search result.
SearchResultType
Defines the type of search result.
QPlaceSearchResult & operator=(const QPlaceSearchResult &other)
Assigns other to this search result and returns a reference to this search result.
SearchResultType type() const
Returns the result type.
bool operator==(const QPlaceSearchResult &other) const
Returns true if other is equal to this search result, otherwise returns false.
QPlaceSearchResult()
Constructs a new search result.
QPlaceIcon icon() const
Returns an icon that can be used to represent the search result.
const T * constData() const noexcept
Returns a const pointer to the shared data object.
T * data()
Returns a pointer to the shared data object.
\macro QT_RESTRICTED_CAST_FROM_ASCII