![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtLocation More...
#include <qplaceproposedsearchresult.h>
Public Member Functions | |
QPlaceProposedSearchResult () | |
Constructs a new proposed search result. | |
~QPlaceProposedSearchResult () | |
Destroys the proposed search result. | |
QPlaceSearchRequest | searchRequest () const |
Returns a place search request that can be used to perform an additional proposed search. | |
void | setSearchRequest (const QPlaceSearchRequest &request) |
Sets the proposed search request to request. | |
![]() | |
QPlaceSearchResult () | |
Constructs a new search result. | |
QPlaceSearchResult (const QPlaceSearchResult &other) | |
Constructs a copy of other. | |
virtual | ~QPlaceSearchResult () |
Destroys the search result. | |
QPlaceSearchResult & | operator= (const QPlaceSearchResult &other) |
Assigns other to this search result and returns a reference to this search result. | |
bool | operator== (const QPlaceSearchResult &other) const |
Returns true if other is equal to this search result, otherwise returns false. | |
bool | operator!= (const QPlaceSearchResult &other) const |
Returns true if other not equal to this search result, otherwise returns false. | |
SearchResultType | type () const |
Returns the result type. | |
QString | title () const |
Returns the title of the search result. | |
void | setTitle (const QString &title) |
Sets the title of the search result to title. | |
QPlaceIcon | icon () const |
Returns an icon that can be used to represent the search result. | |
void | setIcon (const QPlaceIcon &icon) |
Sets the icon of the search result to icon. | |
Additional Inherited Members | |
![]() | |
enum | SearchResultType { UnknownSearchResult = 0 , PlaceResult , ProposedSearchResult } |
Defines the type of search result. More... | |
![]() | |
QPlaceSearchResult (QPlaceSearchResultPrivate *d) | |
![]() | |
QSharedDataPointer< QPlaceSearchResultPrivate > | d_ptr |
\inmodule QtLocation
The QPlaceProposedSearchResult class represents a search result containing a proposed search.
Definition at line 13 of file qplaceproposedsearchresult.h.
QPlaceProposedSearchResult::QPlaceProposedSearchResult | ( | ) |
Constructs a new proposed search result.
Contructs a copy of other if possible, otherwise constructs a default proposed search result.
Definition at line 31 of file qplaceproposedsearchresult.cpp.
QPlaceProposedSearchResult::~QPlaceProposedSearchResult | ( | ) |
Destroys the proposed search result.
Definition at line 49 of file qplaceproposedsearchresult.cpp.
QPlaceSearchRequest QPlaceProposedSearchResult::searchRequest | ( | ) | const |
Returns a place search request that can be used to perform an additional proposed search.
Definition at line 56 of file qplaceproposedsearchresult.cpp.
References d.
Referenced by QDeclarativeSearchResultModel::updateWith().
void QPlaceProposedSearchResult::setSearchRequest | ( | const QPlaceSearchRequest & | request | ) |
Sets the proposed search request to request.
Definition at line 65 of file qplaceproposedsearchresult.cpp.